- fix for "'swap' is not a member of 'std'" in gcc 4
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Feb 2015 18:26:15 +0000 (19:26 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Feb 2015 18:26:15 +0000 (19:26 +0100)
gcc4.patch [new file with mode: 0644]
mongodb.spec

diff --git a/gcc4.patch b/gcc4.patch
new file mode 100644 (file)
index 0000000..3083919
--- /dev/null
@@ -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 {
index c0c5ac02fc2cd751d8a28e169acc89a115f1a8a1..f13454bc7c5ede6b88f1072f0b717c2235a44656 100644 (file)
@@ -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
This page took 0.092423 seconds and 4 git commands to generate.