diff options
author | Arwed von Merkatz | 2011-04-17 14:22:18 +0530 |
---|---|---|
committer | George Sherwood | 2011-04-17 13:30:52 -0500 |
commit | 3462666c7ec2d2acca80dbc1b002a7467c675dbd (patch) | |
tree | 5754f2f2e956caab19601f7883fc0ae99c33681d | |
parent | e4117fe9112506f273dc860da837884ea39078c2 (diff) |
rtorrent: added patch so it works with ncurses 5.8
(cherry picked from commit ebb8aa303b9c8a3431ee4649ca8f05cad0a71ea6)
-rw-r--r-- | ftp/rtorrent/HISTORY | 6 | ||||
-rwxr-xr-x | ftp/rtorrent/PRE_BUILD | 3 | ||||
-rw-r--r-- | ftp/rtorrent/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch | 10 |
3 files changed, 19 insertions, 0 deletions
diff --git a/ftp/rtorrent/HISTORY b/ftp/rtorrent/HISTORY index 62ddc76026..059670fbae 100644 --- a/ftp/rtorrent/HISTORY +++ b/ftp/rtorrent/HISTORY @@ -1,3 +1,9 @@ +2011-04-17 Arwed von Merkatz <v.merkatz@gmx.net> + * PRE_BUILD, rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5.8.patch: + added patch to allow rtorrent to work with ncurses 5.8, patch from + http://libtorrent.rakshasa.no/ticket/2518 + Bug #15966 + 2010-10-26 Andraž "ruskie" Levstik <ruskie+f03a580f@codemages.net> * DETAILS: updated spell to 0.8.7 * DEPENDS: mostly depends on the latest libtorrent diff --git a/ftp/rtorrent/PRE_BUILD b/ftp/rtorrent/PRE_BUILD new file mode 100755 index 0000000000..df62c4f8ff --- /dev/null +++ b/ftp/rtorrent/PRE_BUILD @@ -0,0 +1,3 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && +patch -p1 < $SPELL_DIRECTORY/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch 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); }
|