[packages/kdelibs] Filesystem Version 2 has been removed from boost 1.50

glen glen at pld-linux.org
Thu Nov 8 16:15:37 CET 2012


commit e9175c7c3378838fed4c376cd4e270a58865c380
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Jul 11 11:38:24 2012 +0200

    Filesystem Version 2 has been removed from boost 1.50

 boost-1.50.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/boost-1.50.patch b/boost-1.50.patch
new file mode 100644
index 0000000..5dd2f19
--- /dev/null
+++ b/boost-1.50.patch
@@ -0,0 +1,20 @@
+--- kdelibs-3.5.10/kdecore/klibloader.cpp.orig	2012-07-11 11:33:20.950241266 +0200
++++ kdelibs-3.5.10/kdecore/klibloader.cpp	2012-07-11 11:34:19.250239206 +0200
+@@ -331,7 +331,7 @@
+     d = 0L;
+ }
+ 
+-#define BOOST_FILESYSTEM_VERSION 2
++#define BOOST_FILESYSTEM_VERSION 3
+ #include <boost/filesystem/exception.hpp>
+ #include <boost/filesystem/operations.hpp>
+ #include <boost/filesystem/path.hpp>
+@@ -350,7 +350,7 @@
+ 			i != boost::filesystem::directory_iterator(); ++i )
+ 		{
+ 			boost::smatch m;
+-			if ( boost::regex_match( i->string(), m, re ) )
++			if ( boost::regex_match( i->path().string(), m, re ) )
+ 				return m.str().c_str();
+ 		}
+ 	}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kdelibs.git/commitdiff/62c5d515ab1ccc48ea624256e26cfaa8734e25f0



More information about the pld-cvs-commit mailing list