[packages/mongodb] One more boost 1.50 problem fixed Release 2
baggins
baggins at pld-linux.org
Wed Jul 11 16:32:44 CEST 2012
commit bced33ee8e9ab826ee84f15210578964de56eee1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Jul 11 16:32:18 2012 +0200
One more boost 1.50 problem fixed
Release 2
boost-1.50.patch | 9 +++++++++
mongodb.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/boost-1.50.patch b/boost-1.50.patch
index 0b9192c..7ad61ae 100644
--- a/boost-1.50.patch
+++ b/boost-1.50.patch
@@ -115,6 +115,15 @@ diff -ur mongodb-src-r2.0.6.orig/util/time_support.h mongodb-src-r2.0.6/util/tim
diff -ur mongodb-src-r2.0.6.orig/db/db.cpp mongodb-src-r2.0.6/db/db.cpp
--- mongodb-src-r2.0.6.orig/db/db.cpp 2012-06-04 15:42:54.000000000 +0200
+++ mongodb-src-r2.0.6/db/db.cpp 2012-07-11 14:39:15.945377899 +0200
+@@ -326,7 +326,7 @@
+ boost::filesystem::path path( dbpath );
+ for ( boost::filesystem::directory_iterator i( path );
+ i != boost::filesystem::directory_iterator(); ++i ) {
+- string fileName = boost::filesystem::path(*i).leaf();
++ string fileName = boost::filesystem::path(*i).filename().string();
+ if ( boost::filesystem::is_directory( *i ) &&
+ fileName.length() && fileName[ 0 ] == '$' )
+ boost::filesystem::remove_all( *i );
@@ -655,11 +655,13 @@
dbExecCommand = argv[0];
diff --git a/mongodb.spec b/mongodb.spec
index a0c32f9..1b6324c 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -3,7 +3,7 @@ Summary: MongoDB client shell and tools
Summary(pl.UTF-8): Powłoka kliencka i narzędzia dla bazy danych MongoDB
Name: mongodb
Version: 2.0.6
-Release: 1
+Release: 2
License: AGPL v3
Group: Applications/Databases
Source0: http://downloads.mongodb.org/src/%{name}-src-r%{version}.tar.gz
More information about the pld-cvs-commit
mailing list