aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/rblibtorrent-devel/files
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-03-24 20:44:18 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-03-24 20:44:18 +0000
commitebe89309c3f9e2a4fe97a5d71d5eaa75635f5f51 (patch)
tree6b3986fb53c9c712aad6ae543e768c3b9532d2f7 /net-p2p/rblibtorrent-devel/files
parentc7725a656e405a718907042f0d67fe29cc47831a (diff)
downloadports-ebe89309c3f9e2a4fe97a5d71d5eaa75635f5f51.tar.gz
ports-ebe89309c3f9e2a4fe97a5d71d5eaa75635f5f51.zip
Notes
Diffstat (limited to 'net-p2p/rblibtorrent-devel/files')
-rw-r--r--net-p2p/rblibtorrent-devel/files/patch-Makefile.in11
-rw-r--r--net-p2p/rblibtorrent-devel/files/patch-configure32
-rw-r--r--net-p2p/rblibtorrent-devel/files/patch-peer_connection.cpp35
3 files changed, 78 insertions, 0 deletions
diff --git a/net-p2p/rblibtorrent-devel/files/patch-Makefile.in b/net-p2p/rblibtorrent-devel/files/patch-Makefile.in
new file mode 100644
index 000000000000..632f8b3cbd0e
--- /dev/null
+++ b/net-p2p/rblibtorrent-devel/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Mar 24 21:28:28 2006
++++ Makefile.in Fri Mar 24 21:28:52 2006
+@@ -206,7 +206,7 @@
+ m4/ac_cxx_namespaces.m4 m4/acx_pthread.m4 m4/ax_boost_date-time.m4 \
+ m4/ax_boost_filesystem.m4 m4/ax_boost_thread.m4 src/file_win.cpp libtorrent.pc
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = libtorrent.pc
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff --git a/net-p2p/rblibtorrent-devel/files/patch-configure b/net-p2p/rblibtorrent-devel/files/patch-configure
new file mode 100644
index 000000000000..a8e38063d8fc
--- /dev/null
+++ b/net-p2p/rblibtorrent-devel/files/patch-configure
@@ -0,0 +1,32 @@
+--- configure.orig Sun Feb 5 22:01:29 2006
++++ configure Sun Feb 5 22:03:10 2006
+@@ -20398,7 +20398,8 @@
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
+ if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+- BOOST_DATE_TIME_LIB=$ax_lib break
++ BOOST_DATE_TIME_LIB=$ax_lib
++ break
+ fi
+
+ done
+@@ -20558,7 +20559,8 @@
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
+ if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+- BOOST_FILESYSTEM_LIB=$ax_lib break
++ BOOST_FILESYSTEM_LIB=$ax_lib
++ break
+ fi
+
+ done
+@@ -20719,7 +20721,8 @@
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
+ if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+- BOOST_THREAD_LIB=$ax_lib break
++ BOOST_THREAD_LIB=$ax_lib
++ break
+ fi
+
+ done
diff --git a/net-p2p/rblibtorrent-devel/files/patch-peer_connection.cpp b/net-p2p/rblibtorrent-devel/files/patch-peer_connection.cpp
new file mode 100644
index 000000000000..19c691734589
--- /dev/null
+++ b/net-p2p/rblibtorrent-devel/files/patch-peer_connection.cpp
@@ -0,0 +1,35 @@
+--- src/peer_connection.cpp.orig Fri Dec 16 00:32:21 2005
++++ src/peer_connection.cpp Thu Feb 23 13:07:01 2006
+@@ -1011,6 +1011,7 @@
+
+ if (b != m_download_queue.end())
+ {
++/*
+ for (i = m_download_queue.begin();
+ i != b; ++i)
+ {
+@@ -1023,7 +1024,7 @@
+ // be requested from other peers
+ picker.abort_download(*i);
+ }
+-
++*/
+ #ifdef TORRENT_VERBOSE_LOGGING
+ (*m_logger) << to_simple_string(second_clock::universal_time())
+ << " <== PIECE [ piece: " << p.piece << " | "
+@@ -1031,12 +1032,14 @@
+ "s: " << p.start << " | "
+ "l: " << p.length << " ]\n";
+ #endif
+-
++/*
+ // remove the request that just finished
+ // from the download queue plus the
+ // skipped blocks.
+ m_download_queue.erase(m_download_queue.begin()
+ , boost::next(b));
++*/
++ m_download_queue.erase(b);
+ send_block_requests();
+ }
+ else