freebsd-ports/net/scribe/files/patch-src-file.cpp
Martin Wilke 5348ba2904 - Unbreak build
PR:		169505
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
Approved by:	maintainer
2012-08-05 06:02:30 +00:00

11 lines
426 B
C++

--- 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) {