summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2010-07-26 01:15:00 +0000
committerMagnus Granberg <zorry@gentoo.org>2010-07-26 01:15:00 +0000
commit17e819528d948b0928458a81ea2f755a7669e74d (patch)
treecfd60ec070670710694446af3e8148a5943a3962 /media-libs/a52dec/files
parentFix nfs init script dependency generation for kerberos exports. (diff)
downloadhistorical-17e819528d948b0928458a81ea2f755a7669e74d.tar.gz
historical-17e819528d948b0928458a81ea2f755a7669e74d.tar.bz2
historical-17e819528d948b0928458a81ea2f755a7669e74d.zip
refix the package #327369 thanks Martin Rejman
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-libs/a52dec/files')
-rw-r--r--media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch b/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch
new file mode 100644
index 000000000000..9ff949dd9c08
--- /dev/null
+++ b/media-libs/a52dec/files/a52dec-0.7.4-test-hidden-symbols.patch
@@ -0,0 +1,19 @@
+2010-07-26 Martin Rejman <martin.rejman@centrum.cz>
+
+ #327369
+ * test/globals: bad_globals: Use readelf and ignore hidden symbols
+
+--- a/test/globals 2010-07-07 20:37:49.000000000 +0200
++++ b/test/globals 2010-07-07 20:37:57.000000000 +0200
+@@ -12,8 +12,9 @@
+ srcdir=`cd $srcdir;pwd`
+ builddir=`cd $builddir;pwd`
+
+-bad_globals=`nm -g --defined-only $builddir/../liba52/*.o|\
+- awk '{if ($3) print $3}'|grep -v '^_\?a52_'`
++bad_globals=`readelf -s $builddir/../liba52/*.o |\
++ awk '$5=="GLOBAL" && $6!="HIDDEN" && $7!="UND" {print $8}' |\
++ grep -v '^_\?a52_'`
+
+ if test x"$bad_globals" != x""; then
+ echo BAD GLOBAL SYMBOLS: