diff options
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r-- | net-p2p/rtorrent/files/gcc.patch | 10 | ||||
-rw-r--r-- | net-p2p/rtorrent/rtorrent-9999.ebuild | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/rtorrent/files/gcc.patch b/net-p2p/rtorrent/files/gcc.patch new file mode 100644 index 0000000..258ad06 --- /dev/null +++ b/net-p2p/rtorrent/files/gcc.patch @@ -0,0 +1,10 @@ +--- rtorrent/src/main.cc 2013-08-21 03:49:49.552210826 +0300 ++++ rtorrent-9999/src/main.cc 2013-08-21 03:49:14.135542775 +0300 +@@ -43,6 +43,7 @@ + #include <sstream> + #include <string> + #include <inttypes.h> ++#include <unistd.h> + #include <sigc++/adaptors/bind.h> + #include <torrent/http.h> + #include <torrent/torrent.h> diff --git a/net-p2p/rtorrent/rtorrent-9999.ebuild b/net-p2p/rtorrent/rtorrent-9999.ebuild index ab7d08b..36a6a99 100644 --- a/net-p2p/rtorrent/rtorrent-9999.ebuild +++ b/net-p2p/rtorrent/rtorrent-9999.ebuild @@ -41,6 +41,7 @@ src_compile() { filter-flags -fomit-frame-pointer -fforce-addr fi epatch ${FILESDIR}/canvas.patch + epatch ${FILESDIR}/gcc.patch econf $(use_enable debug) \ $(use_enable ipv6) \ |