[packages/mongodb] BOOST_FILESYSTEM V2 is gone in boost 1.50
baggins
baggins at pld-linux.org
Wed Jul 11 14:56:27 CEST 2012
commit 2d54e68a4937c4c8e7792d817ef928e2c61e224b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Jul 11 14:33:37 2012 +0200
BOOST_FILESYSTEM V2 is gone in boost 1.50
boost-1.50.patch | 11 +++++++++++
mongodb.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/boost-1.50.patch b/boost-1.50.patch
new file mode 100644
index 0000000..a364347
--- /dev/null
+++ b/boost-1.50.patch
@@ -0,0 +1,11 @@
+--- mongodb-src-r2.0.6/pch.h~ 2012-06-04 15:42:54.000000000 +0200
++++ mongodb-src-r2.0.6/pch.h 2012-07-11 14:32:55.482057987 +0200
+@@ -79,7 +79,7 @@
+ //#include <boost/any.hpp>
+ #include "boost/thread/once.hpp"
+ //#include <boost/archive/iterators/transform_width.hpp>
+-#define BOOST_FILESYSTEM_VERSION 2
++#define BOOST_FILESYSTEM_VERSION 3
+ #include <boost/filesystem/convenience.hpp>
+ #include <boost/filesystem/exception.hpp>
+ #include <boost/filesystem/operations.hpp>
diff --git a/mongodb.spec b/mongodb.spec
index 5741b8b..a0c32f9 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -13,6 +13,7 @@ Source2: %{name}.init
Patch0: config.patch
Patch1: %{name}-system-libs.patch
Patch2: %{name}-build.patch
+Patch3: boost-1.50.patch
URL: http://www.mongodb.org/
BuildRequires: boost-devel >= 1.42
BuildRequires: libpcap-devel
@@ -132,6 +133,7 @@ konfiguracji oraz skrypty init.d.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%{__sed} -i -e 's,-O3,%{rpmcxxflags} %{rpmcppflags},' SConstruct
# Fix permissions
More information about the pld-cvs-commit
mailing list