aboutsummaryrefslogtreecommitdiffstats
path: root/main/a52dec/fix-globals-test-x86-pie.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2018-04-05 11:45:43 +0000
committerTimo Teräs <timo.teras@iki.fi>2018-04-05 11:45:51 +0000
commita5b24f0478248282ba6904a88ef8b15218baceda (patch)
tree80c72dcc0e21f96bfd9d862ce16eefca671b6675 /main/a52dec/fix-globals-test-x86-pie.patch
parentd10fea6979ba690634d755c3a1fc317408c5b02f (diff)
downloadaports-a5b24f0478248282ba6904a88ef8b15218baceda.tar.bz2
aports-a5b24f0478248282ba6904a88ef8b15218baceda.tar.xz
main/a52dec: fix globals test on x86
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: