From 3b4b745176421e6d3b46867e68070333153c506f Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 15 Mar 2011 11:41:22 +0200 Subject: new file: net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch modified: net-p2p/rtorrent/rtorrent-9999.ebuild --- .../rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch | 10 ++++++++++ net-p2p/rtorrent/rtorrent-9999.ebuild | 1 + 2 files changed, 11 insertions(+) create mode 100644 net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch (limited to 'net-p2p/rtorrent') 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 new file mode 100644 index 0000000..b9a09d4 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch @@ -0,0 +1,10 @@ +--- 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_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 bf64a3e..babcb59 100644 --- a/net-p2p/rtorrent/rtorrent-9999.ebuild +++ b/net-p2p/rtorrent/rtorrent-9999.ebuild @@ -40,6 +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 econf $(use_enable debug) \ $(use_enable ipv6) \ -- cgit v1.2.3