diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template index 123303c99ec..6e8a4d201e3 100644 --- a/srcpkgs/xine-lib/template +++ b/srcpkgs/xine-lib/template @@ -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 }