summaryrefslogtreecommitdiff
path: root/user/a52dec/fix-globals-test-x86-pie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/a52dec/fix-globals-test-x86-pie.patch')
-rw-r--r--user/a52dec/fix-globals-test-x86-pie.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/a52dec/fix-globals-test-x86-pie.patch b/user/a52dec/fix-globals-test-x86-pie.patch
new file mode 100644
index 000000000..da227a139
--- /dev/null
+++ b/user/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: