xine-lib: work around protected exported symbols

Closes #3849
This commit is contained in:
Jürgen Buchmüller 2016-03-16 17:14:15 +01:00
parent 909d4e4354
commit dc9e0efd49

View file

@ -1,7 +1,7 @@
# Template file for 'xine-lib'
pkgname=xine-lib
version=1.2.6
revision=5
revision=6
build_style=gnu-configure
configure_args="
--disable-vcd --disable-gnomevfs --without-esound --disable-dxr3 --disable-oss"
@ -24,6 +24,14 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; the
makedepends+=" libva-glx-devel libvdpau-devel glu-devel"
fi
# XXX: Remove when Void uses gcc5
# Linking with gcc4.9 (gcc < 5) compiled source and binutils >= 2.26
# results in an error. See a build log at: http://sprunge.us/NiYS
# Also see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248#c6
# To overcome this problem we force configure to not use
# __attribute(( visibility("protected") ))
export cc_cv_attribute_visibility_protected=no
pre_configure() {
autoreconf -if
}