From 7ab6eb917d60ef06c6c9706c854c424580abe04d Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Wed, 13 Apr 2011 22:14:18 +0000 Subject: [PATCH] add rtorrent ncurses patch SVN-Revision: 26653 --- net/rtorrent/patches/120-fix-ncurses.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/rtorrent/patches/120-fix-ncurses.patch diff --git a/net/rtorrent/patches/120-fix-ncurses.patch b/net/rtorrent/patches/120-fix-ncurses.patch new file mode 100644 index 0000000000..0994b05db8 --- /dev/null +++ b/net/rtorrent/patches/120-fix-ncurses.patch @@ -0,0 +1,13 @@ +Index: rtorrent-0.8.6_r1209/src/display/canvas.h +=================================================================== +--- rtorrent-0.8.6_r1209.orig/src/display/canvas.h 2011-04-13 17:29:03.218889497 +0200 ++++ rtorrent-0.8.6_r1209/src/display/canvas.h 2011-04-13 17:29:22.814923068 +0200 +@@ -48,7 +48,7 @@ + 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); + ~Canvas() { delwin(m_window); } + + void refresh() { wnoutrefresh(m_window); } -- 2.30.2