From 2485ddac02c19c5762f787d6b507d238adb6b53a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 15 Feb 2017 08:06:55 +0100 Subject: [PATCH] gdk-pixbuf: fix cross --- srcpkgs/gdk-pixbuf/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/gdk-pixbuf/template b/srcpkgs/gdk-pixbuf/template index cbae5abad93..809648044bc 100644 --- a/srcpkgs/gdk-pixbuf/template +++ b/srcpkgs/gdk-pixbuf/template @@ -16,10 +16,6 @@ license="GPL-2" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" checksum=7ace06170291a1f21771552768bace072ecdea9bd4a02f7658939b9a314c40fc -case "${XBPS_TARGET_MACHINE}" in - arm*|aarch64*) broken="https://build.voidlinux.eu/builders/armv6l_builder/builds/941/steps/shell_3/logs/stdio";; -esac - # Package build options build_options="gir" @@ -31,6 +27,10 @@ fi pre_configure() { sed -i '/SUBDIRS/s/tests//' Makefile.am autoreconf -fi + # Can't create loaders.cache with cross compiled modules + if [ -n "$CROSS_BUILD" ]; then + touch gdk-pixbuf/loaders.cache + fi } gdk-pixbuf-xlib_package() {