From 77dadebd0c37aff8273fa1976d6deddafe8556ae Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 12 Aug 2017 12:54:20 +0200 Subject: community/mongodb: upgrade to 3.4.7 --- community/mongodb/fix-std-string.patch | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 community/mongodb/fix-std-string.patch (limited to 'community/mongodb/fix-std-string.patch') diff --git a/community/mongodb/fix-std-string.patch b/community/mongodb/fix-std-string.patch new file mode 100644 index 0000000000..f2807a83f8 --- /dev/null +++ b/community/mongodb/fix-std-string.patch @@ -0,0 +1,51 @@ +--- mongodb-src-r3.4.7/src/mongo/db/dbwebserver.cpp.orig ++++ mongodb-src-r3.4.7/src/mongo/db/dbwebserver.cpp +@@ -67,6 +67,7 @@ + using std::map; + using std::stringstream; + using std::vector; ++using std::string; + + using namespace html; + +--- mongodb-src-r3.4.7/src/mongo/db/repl/master_slave.cpp.orig ++++ mongodb-src-r3.4.7/src/mongo/db/repl/master_slave.cpp +@@ -78,6 +78,7 @@ + using std::max; + using std::min; + using std::set; ++using std::string; + using std::stringstream; + using std::unique_ptr; + using std::vector; +--- mongodb-src-r3.4.7/src/mongo/db/matcher/expression_leaf.cpp.orig ++++ mongodb-src-r3.4.7/src/mongo/db/matcher/expression_leaf.cpp +@@ -46,6 +46,8 @@ + + namespace mongo { + ++using std::string; ++ + Status LeafMatchExpression::setPath(StringData path) { + _path = path; + return _elementPath.init(_path); +--- mongodb-src-r3.4.7/src/mongo/util/net/miniwebserver.cpp.orig ++++ mongodb-src-r3.4.7/src/mongo/util/net/miniwebserver.cpp +@@ -45,6 +45,7 @@ + namespace mongo { + + using std::shared_ptr; ++using std::string; + using std::stringstream; + using std::vector; + +--- mongodb-src-r3.4.7/src/mongo/shell/bench.cpp.orig ++++ mongodb-src-r3.4.7/src/mongo/shell/bench.cpp +@@ -78,6 +78,7 @@ + using std::unique_ptr; + using std::cout; + using std::map; ++using std::string; + + const std::map opTypeName{{OpType::NONE, "none"}, + {OpType::NOP, "nop"}, -- cgit v1.2.3