]> git.pld-linux.org Git - packages/kdelibs.git/commitdiff
Filesystem Version 2 has been removed from boost 1.50
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 11 Jul 2012 09:38:24 +0000 (11:38 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 8 Nov 2012 13:23:57 +0000 (15:23 +0200)
boost-1.50.patch [new file with mode: 0644]

diff --git a/boost-1.50.patch b/boost-1.50.patch
new file mode 100644 (file)
index 0000000..5dd2f19
--- /dev/null
@@ -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();
+               }
+       }
This page took 0.064657 seconds and 4 git commands to generate.