From dc9e0efd4996907508e3c66e55fc447c73c6b8e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 16 Mar 2016 17:14:15 +0100 Subject: [PATCH] xine-lib: work around protected exported symbols Closes #3849 --- srcpkgs/xine-lib/template | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 }