diff options
-rw-r--r-- | net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch | 10 | ||||
-rw-r--r-- | net-p2p/rtorrent/rtorrent-9999.ebuild | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch b/net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch deleted file mode 100644 index b9a09d4..0000000 --- a/net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- rtorrent-0.8.7/src/display/canvas.h 2011-03-01 14:56:25.000000000 +0800
-+++ rtorrent-0.8.7/src/display/canvas.h 2011-03-01 14:56:10.000000000 +0800
-@@ -48,7 +48,7 @@ class Canvas {
- public:
- typedef std::vector<Attributes> attributes_list;
-
-- Canvas(int x = 0, int y = 0, int width = 0, int height = 0) :
-+ Canvas(int x = 0, int y = 0, int width = 1, int height = 1) :
- m_window(newwin(height, width, y, x)) {}
- ~Canvas() { delwin(m_window); }
diff --git a/net-p2p/rtorrent/rtorrent-9999.ebuild b/net-p2p/rtorrent/rtorrent-9999.ebuild index d02ed5a..1a08ec8 100644 --- a/net-p2p/rtorrent/rtorrent-9999.ebuild +++ b/net-p2p/rtorrent/rtorrent-9999.ebuild @@ -40,7 +40,7 @@ src_compile() { if [[ $(tc-arch) = "x86" ]]; then filter-flags -fomit-frame-pointer -fforce-addr fi - epatch ${FILESDIR}/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch + epatch ${FILESDIR}/canvas.patch econf $(use_enable debug) \ $(use_enable ipv6) \ |