hyperscan: Updated for version 5.4.0

This commit is contained in:
Eugen Wissner 2021-02-23 10:48:52 +01:00
parent 9013817630
commit ded33e772c
3 changed files with 17 additions and 4 deletions

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hyperscan
VERSION=${VERSION:-5.3.0}
VERSION=${VERSION:-5.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch --verbose -p1 -i $CWD/issue-292.patch
mkdir -p build
cd build
cmake \

View File

@ -1,8 +1,8 @@
PRGNAM="hyperscan"
VERSION="5.3.0"
VERSION="5.4.0"
HOMEPAGE="https://www.hyperscan.io"
DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.3.0/hyperscan-5.3.0.tar.gz"
MD5SUM="6acab4b242dd81b3cede211d4a9e7101"
DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.4.0/hyperscan-5.4.0.tar.gz"
MD5SUM="65e08385038c24470a248f6ff2fa379b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ragel"

View File

@ -0,0 +1,11 @@
--- 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