Upgrade hyperscan slackbuild to 5.4.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1d571f5152
commit
fedc8e6b15
|
@ -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
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for Hyperscan
|
||||
|
||||
# Copyright 2018, 2019 Ebben Aries <e@dscp.org>
|
||||
# Copyright 2018-2021 Ebben Aries <slackbuilds@dscp.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=hyperscan
|
||||
VERSION=${VERSION:-5.1.1}
|
||||
VERSION=${VERSION:-5.4.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,6 +69,9 @@ 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 build issue for hyperscan 5.4.0
|
||||
patch -p0 < $CWD/build_wrapper.sh.patch
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="hyperscan"
|
||||
VERSION="5.1.1"
|
||||
VERSION="5.4.0"
|
||||
HOMEPAGE="https://www.hyperscan.io"
|
||||
DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.1.1/hyperscan-5.1.1.tar.gz"
|
||||
MD5SUM="96f9cd558132dd65ec03648aaaba2a48"
|
||||
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"
|
||||
MAINTAINER="Ebben Aries"
|
||||
EMAIL="e@dscp.org"
|
||||
EMAIL="slackbuilds@dscp.org"
|
||||
|
|
Loading…
Reference in New Issue