diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-01-21 11:52:47 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-01-21 11:52:47 +0300 |
commit | 6eb777005ba6970aad9382c8b62d36caf23106f6 (patch) | |
tree | 135e6b97838dcf8af2666a8cd4ee37d88d972992 | |
parent | 24edf0bab9bd07ff2a178c99231fb4d5dd8f293d (diff) |
libtorrent: port range fixed in upstream
-rw-r--r-- | net-libs/libtorrent/files/non_default_listen_ports.patch | 13 | ||||
-rw-r--r-- | net-libs/libtorrent/libtorrent-scm.ebuild | 3 |
2 files changed, 0 insertions, 16 deletions
diff --git a/net-libs/libtorrent/files/non_default_listen_ports.patch b/net-libs/libtorrent/files/non_default_listen_ports.patch deleted file mode 100644 index ab1ff89..0000000 --- a/net-libs/libtorrent/files/non_default_listen_ports.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/torrent/net/bind_manager.cc b/src/torrent/net/bind_manager.cc -index 85e8b692..d60d88c7 100644 ---- a/src/torrent/net/bind_manager.cc -+++ b/src/torrent/net/bind_manager.cc -@@ -78,7 +78,7 @@ prepare_sockaddr(const sockaddr* sa, int flags) { - - bind_struct - make_bind_struct(const std::string& name, const sockaddr* sa, int flags, uint16_t priority) { -- return bind_struct { name, flags, prepare_sockaddr(sa, flags), priority, 6980, 6999 }; -+ return bind_struct { name, flags, prepare_sockaddr(sa, flags), priority, 10881, 10882 }; - } - - static bool diff --git a/net-libs/libtorrent/libtorrent-scm.ebuild b/net-libs/libtorrent/libtorrent-scm.ebuild index 978ad1a..5ec3516 100644 --- a/net-libs/libtorrent/libtorrent-scm.ebuild +++ b/net-libs/libtorrent/libtorrent-scm.ebuild @@ -28,9 +28,6 @@ DEPEND="${RDEPEND} dev-util/cppunit" -PATCHES=( - "${FILESDIR}/non_default_listen_ports.patch" -) src_prepare() { ./autogen.sh |