15 lines
567 B
C++
15 lines
567 B
C++
$NetBSD: patch-include_libtorrent_create__torrent.hpp,v 1.1 2011/05/11 09:18:46 ryo-on Exp $
|
|
|
|
* Support Boost 1.46.1
|
|
|
|
--- include/libtorrent/create_torrent.hpp.orig 2009-11-02 05:31:07.000000000 +0000
|
|
+++ include/libtorrent/create_torrent.hpp
|
|
@@ -152,7 +152,7 @@ namespace libtorrent
|
|
#if BOOST_VERSION < 103600
|
|
std::string leaf = i->path().leaf();
|
|
#else
|
|
- std::string leaf = i->path().filename();
|
|
+ std::string leaf = i->path().filename().string();
|
|
#endif
|
|
if (leaf == ".." || leaf == ".") continue;
|
|
add_files_impl(fs, p, l / leaf, pred);
|