From: luka Date: Wed, 13 Apr 2011 22:14:18 +0000 (+0000) Subject: add rtorrent ncurses patch X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=d606ed25fa19c5a13ed38febdc867ebd6f851740;p=packages.git add rtorrent ncurses patch git-svn-id: svn://svn.openwrt.org/openwrt/packages@26653 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/rtorrent/patches/120-fix-ncurses.patch b/net/rtorrent/patches/120-fix-ncurses.patch new file mode 100644 index 000000000..0994b05db --- /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); }