diff options
author | flz <flz@FreeBSD.org> | 2009-10-29 21:29:08 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2009-10-29 21:29:08 +0800 |
commit | 7b35beb19a9738c05a6fd81e1c7c2953325f99dc (patch) | |
tree | 32f3a290bfd4e872e8a48e36266fcf730e8548d1 | |
parent | f4f2cbcda0048ef214671301be59db9c9a49b29f (diff) | |
download | freebsd-ports-gnome-7b35beb19a9738c05a6fd81e1c7c2953325f99dc.tar.gz freebsd-ports-gnome-7b35beb19a9738c05a6fd81e1c7c2953325f99dc.tar.zst freebsd-ports-gnome-7b35beb19a9738c05a6fd81e1c7c2953325f99dc.zip |
- 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
-rw-r--r-- | net-p2p/libtorrent/Makefile | 2 | ||||
-rw-r--r-- | net-p2p/libtorrent/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/libtorrent/files/patch-src_torrent_poll__kqueue.cc | 9 |
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) : |