slackbuilder/private/hyperscan/issue-292.patch

12 lines
488 B
Diff

--- a/cmake/build_wrapper.sh 2021-01-13 15:39:34.000000000 +0100
+++ b/cmake/build_wrapper.sh 2021-02-21 18:33:13.532927613 +0100
@@ -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