summaryrefslogtreecommitdiffstats
path: root/ftp/rtorrent/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/rtorrent/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch')
-rw-r--r--ftp/rtorrent/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/ftp/rtorrent/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch b/ftp/rtorrent/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch
new file mode 100644
index 0000000000..b9a09d47bf
--- /dev/null
+++ b/ftp/rtorrent/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> 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); }