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.
This commit is contained in:
parent
3561970b67
commit
e36279e319
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue