diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2013-08-21 03:52:21 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2013-08-21 03:52:21 +0300 |
commit | e080a36245daaa7327237c508e53957272c907be (patch) | |
tree | 1ce91d818d760ebf240029c10bf7bd0b32248e89 /net-p2p/rtorrent | |
parent | 44ad20a329689a034cc24c2009fe05d496f96873 (diff) |
new file: files/gcc.patch
modified: rtorrent-9999.ebuild
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) \ |