Received: by mail.netbsd.org (Postfix, from userid 605) id 362D884D69; Fri, 17 Aug 2018 16:03:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8511384D3C for ; Fri, 17 Aug 2018 16:03:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 6yiX5jXTN7Iv for ; Fri, 17 Aug 2018 16:03:20 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id C081384C78 for ; Fri, 17 Aug 2018 16:03:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id BA473FBEC; Fri, 17 Aug 2018 16:03:20 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1534521800150080" MIME-Version: 1.0 Date: Fri, 17 Aug 2018 16:03:20 +0000 From: "Min Sik Kim" Subject: CVS commit: pkgsrc/devel/hyperscan To: pkgsrc-changes@NetBSD.org Reply-To: minskim@netbsd.org X-Mailer: log_accum Message-Id: <20180817160320.BA473FBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1534521800150080 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: minskim Date: Fri Aug 17 16:03:20 UTC 2018 Modified Files: pkgsrc/devel/hyperscan: distinfo Added Files: pkgsrc/devel/hyperscan/patches: patch-src_nfa_limex__compile.cpp Log Message: devel/hyperscan: Fix build with boost-1.68.0 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/hyperscan/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/devel/hyperscan/patches/patch-src_nfa_limex__compile.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1534521800150080 Content-Disposition: inline Content-Length: 2158 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/hyperscan/distinfo diff -u pkgsrc/devel/hyperscan/distinfo:1.3 pkgsrc/devel/hyperscan/distinfo:1.4 --- pkgsrc/devel/hyperscan/distinfo:1.3 Wed Jul 25 00:26:30 2018 +++ pkgsrc/devel/hyperscan/distinfo Fri Aug 17 16:03:20 2018 @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.3 2018/07/25 00:26:30 minskim Exp $ +$NetBSD: distinfo,v 1.4 2018/08/17 16:03:20 minskim Exp $ SHA1 (hyperscan-5.0.0.tar.gz) = 5cb3fc5726950c4025854da8ec05a15f929279db RMD160 (hyperscan-5.0.0.tar.gz) = e172831d368ad5565355ba5da93837c65183c7aa SHA512 (hyperscan-5.0.0.tar.gz) = 2a942832ab6908ea4b17342428188d635d1db0a57ac6452abbbcdadcf972be0174edeec67d03d925ce92d969c767e9933fdc636c4e3df0067aade659337692a5 Size (hyperscan-5.0.0.tar.gz) = 1801219 bytes SHA1 (patch-CMakeLists.txt) = 1a51aee0bb7a807a293f5a16357b3536343915fa +SHA1 (patch-src_nfa_limex__compile.cpp) = 7301935120e523e8e9490c3ccc1f37e9c9e5f317 SHA1 (patch-src_util_popcount.h) = 3d30d412318c474c9d7a5b7fc45ea3148e6ed4b4 SHA1 (patch-tools_hsbench_CMakeLists.txt) = 3b4cdd8a7ed17fedb1a090c3dc76fa307084b7a2 SHA1 (patch-tools_hscollider_CMakeLists.txt) = ee22d83890ca7bf010dd751469d90dcb4930dd08 Added files: Index: pkgsrc/devel/hyperscan/patches/patch-src_nfa_limex__compile.cpp diff -u /dev/null pkgsrc/devel/hyperscan/patches/patch-src_nfa_limex__compile.cpp:1.1 --- /dev/null Fri Aug 17 16:03:20 2018 +++ pkgsrc/devel/hyperscan/patches/patch-src_nfa_limex__compile.cpp Fri Aug 17 16:03:20 2018 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_nfa_limex__compile.cpp,v 1.1 2018/08/17 16:03:20 minskim Exp $ + +Make this file compile with Boost 1.68.0. + +--- src/nfa/limex_compile.cpp.orig 2018-07-09 16:45:44.000000000 +0000 ++++ src/nfa/limex_compile.cpp +@@ -980,7 +980,7 @@ u32 addSquashMask(const build_info &args + // 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); --_----------=_1534521800150080--