diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-02-11 11:11:01 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-02-11 11:11:01 +0300 |
commit | f28d4950c3b35c7f4216270f70d303e30ae45e50 (patch) | |
tree | 626f9288c0c3634121fbab1d08446e2d58e42bbb | |
parent | d60bab1a626231adf528a7fec54d2d0388005771 (diff) |
rtorrent: crash fixed by upstream
-rw-r--r-- | net-p2p/rtorrent/files/crashfix.patch | 14 | ||||
-rw-r--r-- | net-p2p/rtorrent/rtorrent-scm.ebuild | 4 |
2 files changed, 0 insertions, 18 deletions
diff --git a/net-p2p/rtorrent/files/crashfix.patch b/net-p2p/rtorrent/files/crashfix.patch deleted file mode 100644 index 1c3f1c9..0000000 --- a/net-p2p/rtorrent/files/crashfix.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/src/command_network.cc b/src/command_network.cc -index 2b6874c..4050141 100644 ---- a/src/command_network.cc -+++ b/src/command_network.cc -@@ -304,7 +304,7 @@ network_port_range_set(const std::string& arg) { - uint16_t port_first; - uint16_t port_last; - -- if (std::sscanf(arg.c_str(), "%" PRIu16 "-%" PRIu16, &port_first, &port_last) != 2) -+ if (std::sscanf(arg.c_str(), "%" SCNu16 "-%" SCNu16, &port_first, &port_last) != 2) - throw torrent::input_error("Invalid port_range argument."); - - torrent::bind()->set_listen_port_range(port_first, port_last, 0); - diff --git a/net-p2p/rtorrent/rtorrent-scm.ebuild b/net-p2p/rtorrent/rtorrent-scm.ebuild index 266443c..7e43b15 100644 --- a/net-p2p/rtorrent/rtorrent-scm.ebuild +++ b/net-p2p/rtorrent/rtorrent-scm.ebuild @@ -27,10 +27,6 @@ RDEPEND="${COMMON_DEPEND} DEPEND="${COMMON_DEPEND} dev-util/pkgconfig" -PATCHES=( - "${FILESDIR}/crashfix.patch" -) - src_prepare() { ./autogen.sh default |