diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-21 14:15:59 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-21 14:44:37 +0000 |
commit | a86740d743de969471c628c71c75d6d6678ca12c (patch) | |
tree | 3413d775d1ecfdebafae7d19b6ca6232aa1dc838 /community/mongodb/boost162.patch | |
parent | 24bfdd2da0799ef4557fdc3588a701fcc0f6c8ee (diff) | |
download | aports-a86740d743de969471c628c71c75d6d6678ca12c.tar.bz2 aports-a86740d743de969471c628c71c75d6d6678ca12c.tar.xz |
community/mongodb: moved from testing
Diffstat (limited to 'community/mongodb/boost162.patch')
-rw-r--r-- | community/mongodb/boost162.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/mongodb/boost162.patch b/community/mongodb/boost162.patch new file mode 100644 index 0000000000..30a3bdff45 --- /dev/null +++ b/community/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 |