aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb/fix-std-string.patch
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2017-08-12 12:54:20 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-08-12 14:37:50 +0000
commit77dadebd0c37aff8273fa1976d6deddafe8556ae (patch)
tree88fc7843c77feaf4aaffff705188ea421a82fabb /community/mongodb/fix-std-string.patch
parent27c40f945c3a39ad86c731985d88d59526c51939 (diff)
downloadaports-77dadebd0c37aff8273fa1976d6deddafe8556ae.tar.bz2
aports-77dadebd0c37aff8273fa1976d6deddafe8556ae.tar.xz
community/mongodb: upgrade to 3.4.7
Diffstat (limited to 'community/mongodb/fix-std-string.patch')
-rw-r--r--community/mongodb/fix-std-string.patch51
1 files changed, 51 insertions, 0 deletions
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<OpType, std::string> opTypeName{{OpType::NONE, "none"},
+ {OpType::NOP, "nop"},