summaryrefslogtreecommitdiff
path: root/private
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2021-02-23 10:48:52 +0100
committerEugen Wissner <belka@caraus.de>2021-02-23 10:48:52 +0100
commitded33e772c76158e64176ab8804aa5556c375ae5 (patch)
treee8b9a34d1d4aef31a93abf85ac97378859001fc2 /private
parent9013817630b9b501c0c1404cab8a9a4adf476854 (diff)
downloadslackbuilder-ded33e772c76158e64176ab8804aa5556c375ae5.tar.gz
hyperscan: Updated for version 5.4.0
Diffstat (limited to 'private')
-rwxr-xr-xprivate/hyperscan/hyperscan.SlackBuild4
-rw-r--r--private/hyperscan/hyperscan.info6
-rw-r--r--private/hyperscan/issue-292.patch11
3 files changed, 17 insertions, 4 deletions
diff --git a/private/hyperscan/hyperscan.SlackBuild b/private/hyperscan/hyperscan.SlackBuild
index 5199972..9cc1a69 100755
--- a/private/hyperscan/hyperscan.SlackBuild
+++ b/private/hyperscan/hyperscan.SlackBuild
@@ -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 \
diff --git a/private/hyperscan/hyperscan.info b/private/hyperscan/hyperscan.info
index 1c80e9e..b54c4d7 100644
--- a/private/hyperscan/hyperscan.info
+++ b/private/hyperscan/hyperscan.info
@@ -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"
diff --git a/private/hyperscan/issue-292.patch b/private/hyperscan/issue-292.patch
new file mode 100644
index 0000000..20b4f4d
--- /dev/null
+++ b/private/hyperscan/issue-292.patch
@@ -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