diff options
author | Ebben Aries <e@dscp.org> | 2019-04-01 07:19:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-04-05 07:38:25 +0700 |
commit | 7d55b2f7eb23fb2f7d6fc7811e68971e09ce446b (patch) | |
tree | 098ae76751a519917c6dd08b3156ef4af2e9ee00 /libraries | |
parent | c7d24fcae6fa1926bbef3502567c255653e11e06 (diff) | |
download | slackbuilds-7d55b2f7eb23fb2f7d6fc7811e68971e09ce446b.tar.gz |
libraries/hyperscan: Updated for version 5.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/hyperscan/boost_distance.patch | 20 | ||||
-rw-r--r-- | libraries/hyperscan/hyperscan.SlackBuild | 7 | ||||
-rw-r--r-- | libraries/hyperscan/hyperscan.info | 6 | ||||
-rw-r--r-- | libraries/hyperscan/slack-desc | 2 |
4 files changed, 6 insertions, 29 deletions
diff --git a/libraries/hyperscan/boost_distance.patch b/libraries/hyperscan/boost_distance.patch deleted file mode 100644 index 36f13807ea..0000000000 --- a/libraries/hyperscan/boost_distance.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/nfa/limex_compile.cpp 2018-10-27 20:19:18.832643025 -0600 -+++ src/nfa/limex_compile.cpp 2018-10-27 20:20:03.814690090 -0600 -@@ -980,7 +980,7 @@ - // see if we've already seen it, otherwise add a new one. - auto it = find(squash.begin(), squash.end(), sit->second); - if (it != squash.end()) { -- return verify_u32(distance(squash.begin(), it)); -+ return verify_u32(std::distance(squash.begin(), it)); - } - u32 idx = verify_u32(squash.size()); - squash.push_back(sit->second); -@@ -1007,7 +1007,7 @@ - auto it = search(begin(reports), end(reports), begin(my_reports), - end(my_reports)); - if (it != end(reports)) { -- u32 offset = verify_u32(distance(begin(reports), it)); -+ u32 offset = verify_u32(std::distance(begin(reports), it)); - DEBUG_PRINTF("reusing found report list at %u\n", offset); - return offset; - } diff --git a/libraries/hyperscan/hyperscan.SlackBuild b/libraries/hyperscan/hyperscan.SlackBuild index c90bbc8463..10baa65d8d 100644 --- a/libraries/hyperscan/hyperscan.SlackBuild +++ b/libraries/hyperscan/hyperscan.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Hyperscan -# Copyright 2018 Ebben Aries <e@dscp.org> +# Copyright 2018, 2019 Ebben Aries <e@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.0.0} +VERSION=${VERSION:-5.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,9 +69,6 @@ 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 {} \; -# https://github.com/intel/hyperscan/issues/104 -patch -p0 --verbose < $CWD/boost_distance.patch - sed -i -e 's/mktemp/mktemp-gnu/' cmake/build_wrapper.sh mkdir -p build diff --git a/libraries/hyperscan/hyperscan.info b/libraries/hyperscan/hyperscan.info index a97d73dd33..b7db9d4122 100644 --- a/libraries/hyperscan/hyperscan.info +++ b/libraries/hyperscan/hyperscan.info @@ -1,8 +1,8 @@ PRGNAM="hyperscan" -VERSION="5.0.0" +VERSION="5.1.0" HOMEPAGE="https://www.hyperscan.io" -DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.0.0/hyperscan-5.0.0.tar.gz" -MD5SUM="353f889bf6b35712a03f136acd9ea260" +DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.1.0/hyperscan-5.1.0.tar.gz" +MD5SUM="78f9b57b289067f495d8571d6245c33c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ragel" diff --git a/libraries/hyperscan/slack-desc b/libraries/hyperscan/slack-desc index 7f96d4efd6..8a496fd845 100644 --- a/libraries/hyperscan/slack-desc +++ b/libraries/hyperscan/slack-desc @@ -14,6 +14,6 @@ hyperscan: library, yet functions as a standalone library with its own API hyperscan: written in C. hyperscan: hyperscan: -hyperscan: +hyperscan: Homepage: https://www.hyperscan.io/ hyperscan: hyperscan: |