summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2008-12-18 20:27:47 +0000
committerahoka <ahoka@pkgsrc.org>2008-12-18 20:27:47 +0000
commit1cf2dfc74e320c51928f1bf23a4565d05be1bac8 (patch)
treebfe0dab4abc13bee32577f73bc64aaf6a090c6d8 /chat
parentec30b90dba2a6ff2a11e6ec937b32e8b61f6fc53 (diff)
downloadpkgsrc-1cf2dfc74e320c51928f1bf23a4565d05be1bac8.tar.gz
Fix a misuse of autoconf macros.
Now properly builds with wide-curses.
Diffstat (limited to 'chat')
-rw-r--r--chat/weechat/distinfo3
-rw-r--r--chat/weechat/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
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 <ncursesw/curses.h>
++#elif HAVE_NCURSESW_NCURSES_H
+ #include <ncursesw/ncurses.h>
+ #elif HAVE_NCURSES_H
+ #include <ncurses.h>