diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-11-01 13:29:18 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-01 13:31:02 +0200 |
commit | f105a8c53fca39fbb5d2a2d1e57c0f13fb5e9279 (patch) | |
tree | 1d2d82708c47d695b82eef15064fdbf14e5f3a7a /testing/mongodb/boost162.patch | |
parent | 746dedd0692115e85edce087178d57893632fd16 (diff) | |
download | aports-f105a8c53fca39fbb5d2a2d1e57c0f13fb5e9279.tar.bz2 aports-f105a8c53fca39fbb5d2a2d1e57c0f13fb5e9279.tar.xz |
testing/mongodb: various fixes
- fixes #6187
- paxmark all executables for JIT to work
- increase default stack size for std::thread compatiblity
- fix to compile with boost 1.62
Diffstat (limited to 'testing/mongodb/boost162.patch')
-rw-r--r-- | testing/mongodb/boost162.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/mongodb/boost162.patch b/testing/mongodb/boost162.patch new file mode 100644 index 0000000000..30a3bdff45 --- /dev/null +++ b/testing/mongodb/boost162.patch @@ -0,0 +1,15 @@ +Derived from http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/databases/mongodb/patches/patch-src_mongo_db_fts_unicode_string.cpp v1.1 + +* Fix build with boost 1.62.0 + +--- a/src/mongo/db/fts/unicode/string.cpp 2016-09-26 12:10:04.000000000 +0000 ++++ b/src/mongo/db/fts/unicode/string.cpp +@@ -274,7 +274,7 @@ bool String::substrMatch(const std::stri + + // Case sensitive and diacritic sensitive. + return boost::algorithm::boyer_moore_search( +- haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ++ haystack.begin(), haystack.end(), needle.begin(), needle.end()) != std::make_pair(haystack.end(), haystack.end()); + } + + } // namespace unicode |