From 2dbfe03149944daddb266e7055f462099541f302 Mon Sep 17 00:00:00 2001
From: joerg <joerg@pkgsrc.org>
Date: Tue, 7 Jul 2009 21:22:08 +0000
Subject: Can use system curses on NetBSD/current.  Explicitly include stdarg.h
 as mandated by X/Open.

---
 net/rtorrent/Makefile         |  4 ++--
 net/rtorrent/distinfo         |  3 ++-
 net/rtorrent/patches/patch-af | 12 ++++++++++++
 3 files changed, 16 insertions(+), 3 deletions(-)
 create mode 100644 net/rtorrent/patches/patch-af

(limited to 'net')

diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile
index 031ebc5cc50..ca82d19bb0b 100644
--- a/net/rtorrent/Makefile
+++ b/net/rtorrent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2009/05/19 08:59:28 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2009/07/07 21:22:08 joerg Exp $
 
 DISTNAME=	rtorrent-0.8.2
 CATEGORIES=	net
@@ -13,7 +13,7 @@ PKG_DESTDIR_SUPPORT=	user-destdir
 
 USE_LANGUAGES=		c c++
 USE_LIBTOOL=		yes
-USE_NCURSES=		yes
+USE_NCURSES=		chgat
 USE_TOOLS+=		gmake pkg-config
 GNU_CONFIGURE=		yes
 GCC_REQD+=		3.3
diff --git a/net/rtorrent/distinfo b/net/rtorrent/distinfo
index 7bb28101f52..10db26249e1 100644
--- a/net/rtorrent/distinfo
+++ b/net/rtorrent/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2009/04/10 09:06:20 tron Exp $
+$NetBSD: distinfo,v 1.22 2009/07/07 21:22:08 joerg Exp $
 
 SHA1 (rtorrent-0.8.2.tar.gz) = 891093c5d600c2e3853eadbbec369a12dfe6ec11
 RMD160 (rtorrent-0.8.2.tar.gz) = e86b0082d1788e4e7cd8fcf631f7f857d642c799
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 87873bb32166d00398ab0ef6421a6fe85a55c914
 SHA1 (patch-ac) = b62de9ce834aa0422ec173e694d07e88aa1e2f47
 SHA1 (patch-ad) = 04fafec083c7cb27eb2f5ef7fbc5f6ab2e4e4a55
 SHA1 (patch-ae) = 49cb5e84f3759febfc93df874a10c90cafc249d8
+SHA1 (patch-af) = 0a72bf821a647bf5df4e18d0f68173e22645220d
diff --git a/net/rtorrent/patches/patch-af b/net/rtorrent/patches/patch-af
new file mode 100644
index 00000000000..16594b5cf7b
--- /dev/null
+++ b/net/rtorrent/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1 2009/07/07 21:22:08 joerg Exp $
+
+--- src/display/canvas.h.orig	2008-05-07 14:19:11.000000000 +0200
++++ src/display/canvas.h
+@@ -37,6 +37,7 @@
+ #ifndef RTORRENT_DISPLAY_CANVAS_H
+ #define RTORRENT_DISPLAY_CANVAS_H
+ 
++#include <cstdarg>
+ #include <string>
+ #include <vector>
+ 
-- 
cgit v1.2.3