commit 3333b9095f1f74522d7f18b690d4ad86e5a0b67c
Author: Jan RÄ™korajski <[email protected]>
Date:   Wed Feb 18 19:26:15 2015 +0100

    - fix for "'swap' is not a member of 'std'" in gcc 4

 gcc4.patch   | 10 ++++++++++
 mongodb.spec |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/mongodb.spec b/mongodb.spec
index c0c5ac0..f13454b 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -19,6 +19,7 @@ Patch1:               %{name}-system-libs.patch
 Patch2:                boost-1.50.patch
 Patch3:                %{name}-install.patch
 Patch4:                %{name}-shared.patch
+Patch5:                gcc4.patch
 URL:           http://www.mongodb.org/
 BuildRequires: boost-devel >= 1.50
 BuildRequires: libpcap-devel
@@ -145,6 +146,7 @@ konfiguracji oraz skrypty init.d.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 # Fix permissions
 find -type f -executable | xargs chmod a-x
diff --git a/gcc4.patch b/gcc4.patch
new file mode 100644
index 0000000..3083919
--- /dev/null
+++ b/gcc4.patch
@@ -0,0 +1,10 @@
+--- mongodb-src-r2.2.4/src/mongo/shell/linenoise_utf8.h~       2013-04-01 
04:41:49.000000000 +0200
++++ mongodb-src-r2.2.4/src/mongo/shell/linenoise_utf8.h        2015-02-18 
19:25:42.158352512 +0100
+@@ -17,6 +17,7 @@
+ 
+ #include <boost/smart_ptr/scoped_array.hpp>
+ #include <string.h>
++#include <algorithm>
+ 
+ namespace linenoise_utf8 {
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mongodb.git/commitdiff/3333b9095f1f74522d7f18b690d4ad86e5a0b67c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to