aboutsummaryrefslogtreecommitdiff
path: root/net/scribe/files/patch-src-file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/scribe/files/patch-src-file.cpp')
-rw-r--r--net/scribe/files/patch-src-file.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/scribe/files/patch-src-file.cpp b/net/scribe/files/patch-src-file.cpp
new file mode 100644
index 000000000000..8393b124f419
--- /dev/null
+++ b/net/scribe/files/patch-src-file.cpp
@@ -0,0 +1,11 @@
+--- src/file.cpp.orig 2012-06-28 12:42:20.000000000 +0800
++++ src/file.cpp 2012-06-28 12:42:30.000000000 +0800
+@@ -245,7 +245,7 @@
+ boost::filesystem::directory_iterator dir_iter(path), end_iter;
+
+ for ( ; dir_iter != end_iter; ++dir_iter) {
+- _return.push_back(dir_iter->filename());
++ _return.push_back(dir_iter->path().filename().string());
+ }
+ }
+ } catch (const std::exception& e) {