SOURCES: libtorrent-rasterbar-boost.patch (NEW), libtorrent-rasterbar-condi...

uzsolt uzsolt at pld-linux.org
Sun Aug 31 13:24:26 CEST 2008


Author: uzsolt                       Date: Sun Aug 31 11:24:26 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initial

---- Files affected:
SOURCES:
   libtorrent-rasterbar-boost.patch (NONE -> 1.1)  (NEW), libtorrent-rasterbar-condition.patch (NONE -> 1.1)  (NEW), libtorrent-rasterbar-examples.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libtorrent-rasterbar-boost.patch
diff -u /dev/null SOURCES/libtorrent-rasterbar-boost.patch:1.1
--- /dev/null	Sun Aug 31 13:24:26 2008
+++ SOURCES/libtorrent-rasterbar-boost.patch	Sun Aug 31 13:24:19 2008
@@ -0,0 +1,40 @@
+--- libtorrent-rasterbar-0.13.1-orig/src/torrent_info.cpp	2008-07-01 18:03:01.000000000 +0200
++++ libtorrent-rasterbar-0.13.1/src/torrent_info.cpp	2008-08-30 19:00:05.000000000 +0200
+@@ -354,7 +354,11 @@
+   		{
+  			m_name = tmp.leaf();
+   		}
+- 		else if (tmp.has_branch_path())
++#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 (!file.has_branch_path())
++#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
+@@ -662,7 +670,11 @@
+ 					fs::path const* file_path;
+ 					if (i->orig_path) file_path = &(*i->orig_path);
+ 					else file_path = &i->path;
++#if BOOST_VERSION < 103600
+ 					TORRENT_ASSERT(file_path->has_branch_path());
++#else
++					TORRENT_ASSERT(file_path->has_parent_path());
++#endif
+ 					TORRENT_ASSERT(*file_path->begin() == m_name);
+ 
+ 					for (fs::path::iterator j = boost::next(file_path->begin());

================================================================
Index: SOURCES/libtorrent-rasterbar-condition.patch
diff -u /dev/null SOURCES/libtorrent-rasterbar-condition.patch:1.1
--- /dev/null	Sun Aug 31 13:24:27 2008
+++ SOURCES/libtorrent-rasterbar-condition.patch	Sun Aug 31 13:24:20 2008
@@ -0,0 +1,10 @@
+--- libtorrent-rasterbar-0.13.1-orig/include/libtorrent/disk_io_thread.hpp	2008-04-09 10:48:02.000000000 +0200
++++ libtorrent-rasterbar-0.13.1/include/libtorrent/disk_io_thread.hpp	2008-08-31 10:48:47.000000000 +0200
+@@ -44,6 +44,7 @@
+ #include <boost/bind.hpp>
+ #include <boost/pool/pool.hpp>
+ #include <boost/noncopyable.hpp>
++#include <boost/thread/condition.hpp>
+ #include <list>
+ #include "libtorrent/config.hpp"
+ 

================================================================
Index: SOURCES/libtorrent-rasterbar-examples.patch
diff -u /dev/null SOURCES/libtorrent-rasterbar-examples.patch:1.1
--- /dev/null	Sun Aug 31 13:24:28 2008
+++ SOURCES/libtorrent-rasterbar-examples.patch	Sun Aug 31 13:24:20 2008
@@ -0,0 +1,19 @@
+--- libtorrent-rasterbar-0.13.1-orig/configure.in	2008-07-03 13:32:18.000000000 +0200
++++ libtorrent-rasterbar-0.13.1/configure.in	2008-08-30 15:29:49.000000000 +0200
+@@ -393,10 +393,10 @@
+ AC_SUBST(COMPILETIME_OPTIONS)
+ 
+ AC_CONFIG_FILES(Makefile src/Makefile include/Makefile libtorrent-rasterbar.pc)
+-if [[ "x$examples" == "xyes" ]]; then
+-	AC_CONFIG_FILES(examples/Makefile)
+-fi
+-if [[ "x$tests" == "xyes"  ]]; then
+-	AC_CONFIG_FILES(test/Makefile)
+-fi
++# if [[ "x$examples" == "xyes" ]]; then
++#	AC_CONFIG_FILES(examples/Makefile)
++# fi
++# if [[ "x$tests" == "xyes"  ]]; then
++#	AC_CONFIG_FILES(test/Makefile)
++# fi
+ AC_OUTPUT
================================================================


More information about the pld-cvs-commit mailing list