]>
Commit | Line | Data |
---|---|---|
e9175c7c JR |
1 | --- kdelibs-3.5.10/kdecore/klibloader.cpp.orig 2012-07-11 11:33:20.950241266 +0200 |
2 | +++ kdelibs-3.5.10/kdecore/klibloader.cpp 2012-07-11 11:34:19.250239206 +0200 | |
3 | @@ -331,7 +331,7 @@ | |
4 | d = 0L; | |
5 | } | |
6 | ||
7 | -#define BOOST_FILESYSTEM_VERSION 2 | |
8 | +#define BOOST_FILESYSTEM_VERSION 3 | |
9 | #include <boost/filesystem/exception.hpp> | |
10 | #include <boost/filesystem/operations.hpp> | |
11 | #include <boost/filesystem/path.hpp> | |
12 | @@ -350,7 +350,7 @@ | |
13 | i != boost::filesystem::directory_iterator(); ++i ) | |
14 | { | |
15 | boost::smatch m; | |
16 | - if ( boost::regex_match( i->string(), m, re ) ) | |
17 | + if ( boost::regex_match( i->path().string(), m, re ) ) | |
18 | return m.str().c_str(); | |
19 | } | |
20 | } |