hyperscan 4.3.0
Closes #4203. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
0facda379d
commit
32fe610614
1 changed files with 2 additions and 35 deletions
|
@ -1,8 +1,8 @@
|
|||
class Hyperscan < Formula
|
||||
desc "High-performance regular expression matching library"
|
||||
homepage "https://01.org/hyperscan"
|
||||
url "https://github.com/01org/hyperscan/archive/v4.2.0.tar.gz"
|
||||
sha256 "d06d8f31a62e5d2903a8ccf07696e02cadf4de2024dc3b558d410d913c81dbef"
|
||||
url "https://github.com/01org/hyperscan/archive/v4.3.0.tar.gz"
|
||||
sha256 "842527a578f58e4a8e441e6adbfd3a43667399125913ed5df20c72b94c9ccad7"
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
|
@ -18,11 +18,6 @@ class Hyperscan < Formula
|
|||
depends_on "ragel" => :build
|
||||
depends_on "cmake" => :build
|
||||
|
||||
# workaround for freebsd/clang/libc++ build issues
|
||||
# https://github.com/01org/hyperscan/issues/27
|
||||
# https://github.com/01org/hyperscan/commit/e9cfbae68f69b06bb4fdcd2abd7c1ee5afec0262
|
||||
patch :DATA
|
||||
|
||||
def install
|
||||
mkdir "build" do
|
||||
args = std_cmake_args
|
||||
|
@ -58,31 +53,3 @@ class Hyperscan < Formula
|
|||
system "./test"
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
diff --git a/src/parser/ComponentRepeat.cpp b/src/parser/ComponentRepeat.cpp
|
||||
index ff02703..74aa590 100644
|
||||
--- a/src/parser/ComponentRepeat.cpp
|
||||
+++ b/src/parser/ComponentRepeat.cpp
|
||||
@@ -184,7 +184,7 @@ void ComponentRepeat::notePositions(GlushkovBuildState &bs) {
|
||||
|
||||
vector<PositionInfo> ComponentRepeat::first() const {
|
||||
if (!m_max) {
|
||||
- return {};
|
||||
+ return vector<PositionInfo>();
|
||||
}
|
||||
|
||||
assert(!m_firsts.empty()); // notePositions should already have run
|
||||
diff --git a/src/rose/rose_build_misc.cpp b/src/rose/rose_build_misc.cpp
|
||||
index b16e3a6..1977f92 100644
|
||||
--- a/src/rose/rose_build_misc.cpp
|
||||
+++ b/src/rose/rose_build_misc.cpp
|
||||
@@ -880,7 +880,7 @@ namespace {
|
||||
class OutfixAllReports : public boost::static_visitor<set<ReportID>> {
|
||||
public:
|
||||
set<ReportID> operator()(const boost::blank &) const {
|
||||
- return {};
|
||||
+ return set<ReportID>();
|
||||
}
|
||||
|
||||
template<class T>
|
||||
|
|
Loading…
Reference in a new issue