summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-03-01 07:44:52 +0000
committertron <tron@pkgsrc.org>2011-03-01 07:44:52 +0000
commitad54a4a73a4501ea38e8f257dd963b95990d4006 (patch)
treeaf557b7605909370c06c1bbaedc6015a3e22d43f
parent1e88e66f23aa5f21ebad9cdc05b0e800ec94a96b (diff)
downloadpkgsrc-ad54a4a73a4501ea38e8f257dd963b95990d4006.tar.gz
Use patch suggested on "arch-linux" mailing list to make rTorrent work
with ncurses 5.8.
-rw-r--r--net/rtorrent/Makefile4
-rw-r--r--net/rtorrent/distinfo4
-rw-r--r--net/rtorrent/patches/patch-af19
3 files changed, 20 insertions, 7 deletions
diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile
index eb78005d7be..c631c186849 100644
--- a/net/rtorrent/Makefile
+++ b/net/rtorrent/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2010/01/17 12:02:35 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2011/03/01 07:44:52 tron Exp $
DISTNAME= rtorrent-0.8.6
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE:=downloads/}
diff --git a/net/rtorrent/distinfo b/net/rtorrent/distinfo
index 3632459f57b..fc1ac7bd536 100644
--- a/net/rtorrent/distinfo
+++ b/net/rtorrent/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2010/01/01 19:36:31 snj Exp $
+$NetBSD: distinfo,v 1.26 2011/03/01 07:44:52 tron Exp $
SHA1 (rtorrent-0.8.6.tar.gz) = ffce3959ba91738bb444d689db3db1e2375b14ce
RMD160 (rtorrent-0.8.6.tar.gz) = 3d5109d4ee26c663b376e0b9f610ab6055c57ba9
@@ -8,4 +8,4 @@ SHA1 (patch-ab) = 87873bb32166d00398ab0ef6421a6fe85a55c914
SHA1 (patch-ac) = b62de9ce834aa0422ec173e694d07e88aa1e2f47
SHA1 (patch-ad) = 04fafec083c7cb27eb2f5ef7fbc5f6ab2e4e4a55
SHA1 (patch-ae) = 49cb5e84f3759febfc93df874a10c90cafc249d8
-SHA1 (patch-af) = 0a72bf821a647bf5df4e18d0f68173e22645220d
+SHA1 (patch-af) = 034b73f871aa09285b467502a1b524011f9eabdc
diff --git a/net/rtorrent/patches/patch-af b/net/rtorrent/patches/patch-af
index 16594b5cf7b..870f5d61e0f 100644
--- a/net/rtorrent/patches/patch-af
+++ b/net/rtorrent/patches/patch-af
@@ -1,7 +1,11 @@
-$NetBSD: patch-af,v 1.1 2009/07/07 21:22:08 joerg Exp $
+$NetBSD: patch-af,v 1.2 2011/03/01 07:44:53 tron Exp $
---- src/display/canvas.h.orig 2008-05-07 14:19:11.000000000 +0200
-+++ src/display/canvas.h
+Make this work with "ncurses" 5.8. Patch taken from here.
+
+http://www.mail-archive.com/arch-general@archlinux.org/msg18728.html
+
+--- src/display/canvas.h.orig 2009-11-12 08:03:47.000000000 +0000
++++ src/display/canvas.h 2011-03-01 07:40:08.000000000 +0000
@@ -37,6 +37,7 @@
#ifndef RTORRENT_DISPLAY_CANVAS_H
#define RTORRENT_DISPLAY_CANVAS_H
@@ -10,3 +14,12 @@ $NetBSD: patch-af,v 1.1 2009/07/07 21:22:08 joerg Exp $
#include <string>
#include <vector>
+@@ -48,7 +49,7 @@
+ 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); }
+