[packages/kde4-kde3support] Filesystem Version 2 has been removed from boost 1.50

baggins baggins at pld-linux.org
Wed Jul 11 11:48:36 CEST 2012


commit 405dfb98b56d860493dbd40021fe7c235043b4ef
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();
+ 		}
+ 	}


More information about the pld-cvs-commit mailing list