summaryrefslogtreecommitdiff
path: root/chat/smirk
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2017-01-03 21:27:33 +0000
committerroy <roy@pkgsrc.org>2017-01-03 21:27:33 +0000
commit2e8f3fc5c4e904b7def75293b5e91848963570f0 (patch)
treed6fc4c51a360eb0a33e7645e27b4ef8c0c5a7bbe /chat/smirk
parent8672b145b199a9ae1ecb9a87c4973745eeb3163d (diff)
downloadpkgsrc-2e8f3fc5c4e904b7def75293b5e91848963570f0.tar.gz
smirk builds fine with NetBSD curses.
However, it now needs patches to include stdarg.h in a few places...
Diffstat (limited to 'chat/smirk')
-rw-r--r--chat/smirk/Makefile8
-rw-r--r--chat/smirk/distinfo4
-rw-r--r--chat/smirk/patches/patch-src_comm.c13
-rw-r--r--chat/smirk/patches/patch-src_forms.c12
4 files changed, 32 insertions, 5 deletions
diff --git a/chat/smirk/Makefile b/chat/smirk/Makefile
index cee0b741be0..2ceaa296258 100644
--- a/chat/smirk/Makefile
+++ b/chat/smirk/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2015/08/18 07:31:03 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2017/01/03 21:27:33 roy Exp $
#
DISTNAME= smirk-20080111
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
@@ -15,7 +15,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datadir=${DATADIR:Q}
USE_TOOLS+= gmake
-USE_NCURSES= yes
+FAKE_NCURSES= yes
DATADIR= ${PREFIX}/share/${PKGBASE}
HELP_DIR= ${DATADIR}/help
@@ -31,5 +31,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/help/${fn} ${DESTDIR}${HELP_DIR}
.endfor
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/smirk/distinfo b/chat/smirk/distinfo
index 4df74abdd11..f90656c8d90 100644
--- a/chat/smirk/distinfo
+++ b/chat/smirk/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:20:24 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/01/03 21:27:33 roy Exp $
SHA1 (smirk-20080111.tar.bz2) = a5cfacbd655e76f39d3d8093b724266f9d6c92ac
RMD160 (smirk-20080111.tar.bz2) = b834e5c78e7882710d109e603f528fc2fccb7167
SHA512 (smirk-20080111.tar.bz2) = 3168ea49db68181a543b401134faa391241ba57d582fcdbed0f7e5487be36b449146be40e0c0ca86e5907de41df84a0af338271a835268c18a8446f92c0a509b
Size (smirk-20080111.tar.bz2) = 151171 bytes
SHA1 (patch-aa) = 05f337326017d2d457e9d5ee4f369ec1ecf3f30e
+SHA1 (patch-src_comm.c) = 01248034b97a1e084959394e5bd45d26d1d19c3f
+SHA1 (patch-src_forms.c) = 9a9bd84756182609e802632526cf3fb480db9b00
diff --git a/chat/smirk/patches/patch-src_comm.c b/chat/smirk/patches/patch-src_comm.c
new file mode 100644
index 00000000000..0abfe695462
--- /dev/null
+++ b/chat/smirk/patches/patch-src_comm.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_comm.c,v 1.1 2017/01/03 21:27:33 roy Exp $
+
+--- src/comm.c.orig 2017-01-03 21:20:08.889101017 +0000
++++ src/comm.c
+@@ -34,7 +34,7 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <netdb.h>
+-
++#include <stdarg.h>
+
+ #include "config.h"
+
diff --git a/chat/smirk/patches/patch-src_forms.c b/chat/smirk/patches/patch-src_forms.c
new file mode 100644
index 00000000000..1d47eab28c1
--- /dev/null
+++ b/chat/smirk/patches/patch-src_forms.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_forms.c,v 1.1 2017/01/03 21:27:33 roy Exp $
+
+--- src/forms.c.orig 2017-01-03 21:22:56.040858695 +0000
++++ src/forms.c
+@@ -37,6 +37,7 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <ctype.h>
++#include <stdarg.h>
+
+ #include "config.h"
+