summaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2009-10-29 13:29:08 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2009-10-29 13:29:08 +0000
commitb6db987527f84cf6fcb68b2e23d8e7e745c1ca56 (patch)
tree4448b9851db428c967664b877284fc967c8f314c /net-p2p/libtorrent
parent- Fix MASTER_SITES (diff)
- Update net-p2p/libtorrent to 0.12.5.
- Add a patch to fix crash when total number of connections exceeds 1024. Submitted by: Andrew Stadtler, Paul Belanger Obtained from: http://libtorrent.rakshasa.no/ticket/1581
Notes
Notes: svn path=/head/; revision=243464
Diffstat (limited to 'net-p2p/libtorrent')
-rw-r--r--net-p2p/libtorrent/Makefile2
-rw-r--r--net-p2p/libtorrent/distinfo6
-rw-r--r--net-p2p/libtorrent/files/patch-src_torrent_poll__kqueue.cc9
3 files changed, 13 insertions, 4 deletions
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index e96a386a6d6f..9b3a9fdd63ea 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= libtorrent
-PORTVERSION?= 0.12.4
+PORTVERSION?= 0.12.5
PORTREVISION?= 0
CATEGORIES= net-p2p
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ \
diff --git a/net-p2p/libtorrent/distinfo b/net-p2p/libtorrent/distinfo
index 1265ea3fd454..2ea3524f8577 100644
--- a/net-p2p/libtorrent/distinfo
+++ b/net-p2p/libtorrent/distinfo
@@ -1,3 +1,3 @@
-MD5 (libtorrent-0.12.4.tar.gz) = 7e4b4c29a69c86c38e3e60ec11fc2255
-SHA256 (libtorrent-0.12.4.tar.gz) = a48c307fdcc77a28ee3a2ba0b68501a42e3709bf693c52df4831b87c71c8c359
-SIZE (libtorrent-0.12.4.tar.gz) = 600778
+MD5 (libtorrent-0.12.5.tar.gz) = fe8155d364b220713074423100d4bf29
+SHA256 (libtorrent-0.12.5.tar.gz) = e963f70cfd395520176c163e665e2284b98614701e716e76585c4faa54629dc1
+SIZE (libtorrent-0.12.5.tar.gz) = 587228
diff --git a/net-p2p/libtorrent/files/patch-src_torrent_poll__kqueue.cc b/net-p2p/libtorrent/files/patch-src_torrent_poll__kqueue.cc
index e1de953422ff..d0d718b680c4 100644
--- a/net-p2p/libtorrent/files/patch-src_torrent_poll__kqueue.cc
+++ b/net-p2p/libtorrent/files/patch-src_torrent_poll__kqueue.cc
@@ -9,3 +9,12 @@
#endif
namespace torrent {
+@@ -113,7 +113,7 @@
+ if (fd == -1)
+ return NULL;
+
+- return new PollKQueue(fd, 1024, maxOpenSockets);
++ return new PollKQueue(fd, 16384, maxOpenSockets);
+ }
+
+ PollKQueue::PollKQueue(int fd, int maxEvents, int maxOpenSockets) :