From 1cf2dfc74e320c51928f1bf23a4565d05be1bac8 Mon Sep 17 00:00:00 2001 From: ahoka Date: Thu, 18 Dec 2008 20:27:47 +0000 Subject: Fix a misuse of autoconf macros. Now properly builds with wide-curses. --- chat/weechat/distinfo | 3 ++- chat/weechat/patches/patch-ab | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 chat/weechat/patches/patch-ab (limited to 'chat') diff --git a/chat/weechat/distinfo b/chat/weechat/distinfo index 9cb6fa39f05..5ee44c26eee 100644 --- a/chat/weechat/distinfo +++ b/chat/weechat/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.12 2007/10/12 18:38:42 tonio Exp $ +$NetBSD: distinfo,v 1.13 2008/12/18 20:27:47 ahoka Exp $ SHA1 (weechat-0.2.6.tar.bz2) = d31ca0b563941813a337aa91f38a8e80877b0d8b RMD160 (weechat-0.2.6.tar.bz2) = c852f20dbf6cbec76e86166fa1ead7dd6b07b2f6 Size (weechat-0.2.6.tar.bz2) = 1106194 bytes SHA1 (patch-aa) = 5bfba8832834898030fb1612adee83c8a7d1e708 +SHA1 (patch-ab) = 14264c459810e7300b5adedd0ff98e749dad3f2d diff --git a/chat/weechat/patches/patch-ab b/chat/weechat/patches/patch-ab new file mode 100644 index 00000000000..4afeb03c0d8 --- /dev/null +++ b/chat/weechat/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.5 2008/12/18 20:27:47 ahoka Exp $ + +--- src/gui/curses/gui-curses.h.orig 2008-12-18 21:17:01.000000000 +0100 ++++ src/gui/curses/gui-curses.h +@@ -21,6 +21,8 @@ + #define __WEECHAT_GUI_CURSES_H 1 + + #ifdef HAVE_NCURSESW_CURSES_H ++#include ++#elif HAVE_NCURSESW_NCURSES_H + #include + #elif HAVE_NCURSES_H + #include -- cgit v1.2.3