summaryrefslogtreecommitdiff
path: root/libraries/hyperscan/build_wrapper.sh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/hyperscan/build_wrapper.sh.patch')
-rw-r--r--libraries/hyperscan/build_wrapper.sh.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/hyperscan/build_wrapper.sh.patch b/libraries/hyperscan/build_wrapper.sh.patch
new file mode 100644
index 0000000000..b113554981
--- /dev/null
+++ b/libraries/hyperscan/build_wrapper.sh.patch
@@ -0,0 +1,11 @@
+--- cmake/build_wrapper.sh 2021-05-22 15:57:12.307345284 +0200
++++ cmake/build_wrapper.sh.new 2021-05-22 15:57:57.926340747 +0200
+@@ -17,7 +17,7 @@
+ LIBC_SO=$("$@" --print-file-name=libc.so.6)
+ cp ${KEEPSYMS_IN} ${KEEPSYMS}
+ # get all symbols from libc and turn them into patterns
+-nm -f p -g -D ${LIBC_SO} | sed -s 's/\([^ ]*\).*/^\1$/' >> ${KEEPSYMS}
++nm -f p -g -D ${LIBC_SO} | sed -s 's/\([^ @]*\).*/^\1$/' >> ${KEEPSYMS}
+ # build the object
+ "$@"
+ # rename the symbols in the object