[SM-Commit] GIT changes to stable-0.54 grimoire by George Sherwood (3462666c7ec2d2acca80dbc1b002a7467c675dbd)

George Sherwood scm at sourcemage.org
Sun Apr 17 14:29:13 EDT 2011


GIT changes to stable-0.54 grimoire by George Sherwood <gsherwood at sourcemage.org>:

 ftp/rtorrent/HISTORY                                               |    6 ++++++
 ftp/rtorrent/PRE_BUILD                                             |    3 +++
 ftp/rtorrent/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch |   10 ++++++++++
 3 files changed, 19 insertions(+)

New commits:
commit 3462666c7ec2d2acca80dbc1b002a7467c675dbd
Author: Arwed von Merkatz <v.merkatz at gmx.net>
Commit: George Sherwood <gsherwood at sourcemage.org>

    rtorrent: added patch so it works with ncurses 5.8
    (cherry picked from commit ebb8aa303b9c8a3431ee4649ca8f05cad0a71ea6)

diff --git a/ftp/rtorrent/HISTORY b/ftp/rtorrent/HISTORY
index 62ddc76..059670f 100644
--- a/ftp/rtorrent/HISTORY
+++ b/ftp/rtorrent/HISTORY
@@ -1,3 +1,9 @@
+2011-04-17 Arwed von Merkatz <v.merkatz at 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 at 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 0000000..df62c4f
--- /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 0000000..b9a09d4
--- /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); }



More information about the SM-Commit mailing list