From e36279e319c96fdaceb4642076cf57b4b1f2eb3b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 May 2015 11:26:16 +0200 Subject: [PATCH] libgphoto2: workaround segfault due to gettext<->musl symbol clashing. gettext-libs defines dcngettext symbol, so does musl and print-camera-list segfaults. For now just disable NLS on musl until the real issue is understood and fixed correctly. --- srcpkgs/libgphoto2/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libgphoto2/template b/srcpkgs/libgphoto2/template index 304e9717c0b..1c7a099cb4e 100644 --- a/srcpkgs/libgphoto2/template +++ b/srcpkgs/libgphoto2/template @@ -1,7 +1,7 @@ # Template file for 'libgphoto2' pkgname=libgphoto2 version=2.5.7 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static --disable-rpath udevscriptdir=/usr/lib/udev" hostmakedepends="automake libtool pkg-config gettext-devel" @@ -17,6 +17,10 @@ checksum=7260193277bdb4c319dd8f151224f87deac9fde64cbe5d2eb25d9c19e4d09894 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" libgphoto2" fi +case "$XBPS_TARGET_MACHINE" in + # XXX + *-musl) configure_args+=" --disable-nls";; +esac pre_configure() { autoreconf -fi