summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat/weechat/Makefile4
-rw-r--r--chat/weechat/distinfo3
-rw-r--r--chat/weechat/patches/patch-src_gui_curses_gui-curses-term_c18
3 files changed, 23 insertions, 2 deletions
diff --git a/chat/weechat/Makefile b/chat/weechat/Makefile
index ea71a9f2969..afddb769c4d 100644
--- a/chat/weechat/Makefile
+++ b/chat/weechat/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2012/05/28 22:55:05 tonio Exp $
+# $NetBSD: Makefile,v 1.31 2012/05/29 00:32:27 dholland Exp $
#
DISTNAME= weechat-0.3.7
+PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= http://www.weechat.org/files/src/
@@ -26,5 +27,6 @@ LIBS.SunOS+= -lnsl
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/weechat/distinfo b/chat/weechat/distinfo
index 923dfed0996..bc6585896e6 100644
--- a/chat/weechat/distinfo
+++ b/chat/weechat/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2012/05/28 22:55:05 tonio Exp $
+$NetBSD: distinfo,v 1.21 2012/05/29 00:32:27 dholland Exp $
SHA1 (weechat-0.3.7.tar.gz) = 0cb37c3d378adf7d3c037154eb9f073ec53594f4
RMD160 (weechat-0.3.7.tar.gz) = 75749fe291749dbd95d794e2ceaea29f0d1b4e5d
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 86a3cfd780fb52d8dea92d5f9d72bb3ac2df91bf
SHA1 (patch-ab) = d0fac0994602dfa0afde9fe14487f44f8cce25d6
SHA1 (patch-ac) = e9fa664f040bd6549ddd8e860ec4568931bcab6b
SHA1 (patch-ad) = 4f8140fc3d10a036ff10db402053c9744c350b2b
+SHA1 (patch-src_gui_curses_gui-curses-term_c) = 85d59b3bc4dc3bac8b972d19a20a35afbcd599c8
diff --git a/chat/weechat/patches/patch-src_gui_curses_gui-curses-term_c b/chat/weechat/patches/patch-src_gui_curses_gui-curses-term_c
new file mode 100644
index 00000000000..986cb537ada
--- /dev/null
+++ b/chat/weechat/patches/patch-src_gui_curses_gui-curses-term_c
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_gui_curses_gui-curses-term_c,v 1.1 2012/05/29 00:32:27 dholland Exp $
+
+Workaround for build failure on early NetBSD 6.99.* and prerelease 6.0
+(PR 46492)
+
+--- src/gui/curses/gui-curses-term.c~ 2012-01-08 10:28:06.000000000 +0000
++++ src/gui/curses/gui-curses-term.c
+@@ -28,6 +28,10 @@
+ #ifdef HAVE_NCURSESW_CURSES_H
+ #include <ncursesw/term.h>
+ #else
++#ifdef __NetBSD__
++/* workaround for build failure on early 6.99.* and prerelease 6.0 */
++#include <sys/cdefs.h>
++#endif
+ #include <term.h>
+ #endif
+