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 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libgphoto2'
|
# Template file for 'libgphoto2'
|
||||||
pkgname=libgphoto2
|
pkgname=libgphoto2
|
||||||
version=2.5.7
|
version=2.5.7
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-rpath udevscriptdir=/usr/lib/udev"
|
configure_args="--disable-static --disable-rpath udevscriptdir=/usr/lib/udev"
|
||||||
hostmakedepends="automake libtool pkg-config gettext-devel"
|
hostmakedepends="automake libtool pkg-config gettext-devel"
|
||||||
|
@ -17,6 +17,10 @@ checksum=7260193277bdb4c319dd8f151224f87deac9fde64cbe5d2eb25d9c19e4d09894
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" libgphoto2"
|
hostmakedepends+=" libgphoto2"
|
||||||
fi
|
fi
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
# XXX
|
||||||
|
*-musl) configure_args+=" --disable-nls";;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue