$NetBSD: patch-af,v 1.3 2011/07/30 17:06:33 tron Exp $

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	2011-04-07 13:36:10.000000000 +0100
+++ src/display/canvas.h	2011-07-30 16:40:10.000000000 +0100
@@ -37,6 +37,7 @@
 #ifndef RTORRENT_DISPLAY_CANVAS_H
 #define RTORRENT_DISPLAY_CANVAS_H
 
+#include <cstdarg>
 #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);
   ~Canvas() { delwin(m_window); }
 
   void                refresh()                                               { wnoutrefresh(m_window); }
