aboutsummaryrefslogtreecommitdiffstats
path: root/main/a52dec/fix-globals-test-x86-pie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/a52dec/fix-globals-test-x86-pie.patch')
-rw-r--r--main/a52dec/fix-globals-test-x86-pie.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/a52dec/fix-globals-test-x86-pie.patch b/main/a52dec/fix-globals-test-x86-pie.patch
new file mode 100644
index 0000000000..da227a1397
--- /dev/null
+++ b/main/a52dec/fix-globals-test-x86-pie.patch
@@ -0,0 +1,11 @@
+--- a52dec-0.7.4.orig/test/globals
++++ a52dec-0.7.4/test/globals
+@@ -13,7 +13,7 @@
+ builddir=`cd $builddir;pwd`
+
+ bad_globals=`nm -g --defined-only $builddir/../liba52/*.o|\
+- awk '{if ($3) print $3}'|grep -v '^_\?a52_'`
++ awk '{if ($3) print $3}'|grep -v '^_\?a52_'`|grep -v '^__x86.get_pc_thunk.'
+
+ if test x"$bad_globals" != x""; then
+ echo BAD GLOBAL SYMBOLS: