summaryrefslogtreecommitdiffstats
path: root/libraries/libtorrent-rasterbar/boost-1.36.0.patch
diff options
context:
space:
mode:
author Erik Hanson2010-05-11 22:54:15 +0200
committer Robby Workman2010-05-11 22:54:15 +0200
commitbf94af1ca245ed36d779a1cbfff8e807c306165d (patch)
tree74c36867109e37b7498953f543c399a752dc4205 /libraries/libtorrent-rasterbar/boost-1.36.0.patch
parent4696f43bf2ca66e86ec8cc9cf9c16ae3a9ef323e (diff)
downloadslackbuilds-bf94af1ca245ed36d779a1cbfff8e807c306165d.tar.gz
libraries/libtorrent-rasterbar: Added to 12.1 repository
Diffstat (limited to 'libraries/libtorrent-rasterbar/boost-1.36.0.patch')
-rw-r--r--libraries/libtorrent-rasterbar/boost-1.36.0.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/libraries/libtorrent-rasterbar/boost-1.36.0.patch b/libraries/libtorrent-rasterbar/boost-1.36.0.patch
new file mode 100644
index 0000000000..cffebba940
--- /dev/null
+++ b/libraries/libtorrent-rasterbar/boost-1.36.0.patch
@@ -0,0 +1,40 @@
+diff -uNr src/torrent_info.cpp src/torrent_info.cpp2
+--- src/torrent_info.cpp 2008-08-24 18:13:52.000000000 +0200
++++ src/torrent_info.cpp 2008-08-24 18:15:28.000000000 +0200
+@@ -354,7 +354,11 @@
+ {
+ m_name = tmp.leaf();
+ }
++#if BOOST_VERSION < 103600
+ else if (tmp.has_branch_path())
++#else
++ else if (tmp.has_parent_path())
++#endif
+ {
+ fs::path p;
+ for (fs::path::iterator i = tmp.begin()
+@@ -572,7 +576,11 @@
+ {
+ // TORRENT_ASSERT(file.begin() != file.end());
+
++#if BOOST_VERSION < 103600
+ if (!file.has_branch_path())
++#else
++ if (!file.has_parent_path())
++#endif
+ {
+ // you have already added at least one file with a
+ // path to the file (branch_path), which means that
+
+======================================================================================
+diff -uNr include/libtorrent/disk_io_thread.hpp include/libtorrent/disk_io_thread.hpp2
+--- include/libtorrent/disk_io_thread.hpp 2008-04-09 10:48:02.000000000 +0200
++++ include/libtorrent/disk_io_thread.hpp 2008-08-24 20:38:01.000000000 +0200
+@@ -39,6 +39,7 @@
+
+ #include "libtorrent/storage.hpp"
+ #include <boost/thread/thread.hpp>
++#include <boost/thread/condition.hpp>
+ #include <boost/function.hpp>
+ #include <boost/thread/mutex.hpp>
+ #include <boost/bind.hpp>