pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/smirk smirk builds fine with NetBSD curses.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0973e5d8c95
branches:  trunk
changeset: 356708:e0973e5d8c95
user:      roy <roy%pkgsrc.org@localhost>
date:      Tue Jan 03 21:27:33 2017 +0000

description:
smirk builds fine with NetBSD curses.
However, it now needs patches to include stdarg.h in a few places...

diffstat:

 chat/smirk/Makefile                  |   8 ++++----
 chat/smirk/distinfo                  |   4 +++-
 chat/smirk/patches/patch-src_comm.c  |  13 +++++++++++++
 chat/smirk/patches/patch-src_forms.c |  12 ++++++++++++
 4 files changed, 32 insertions(+), 5 deletions(-)

diffs (77 lines):

diff -r 8ab7ac39948c -r e0973e5d8c95 chat/smirk/Makefile
--- a/chat/smirk/Makefile       Tue Jan 03 20:54:22 2017 +0000
+++ b/chat/smirk/Makefile       Tue Jan 03 21:27:33 2017 +0000
@@ -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 @@
 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 @@
        ${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 -r 8ab7ac39948c -r e0973e5d8c95 chat/smirk/distinfo
--- a/chat/smirk/distinfo       Tue Jan 03 20:54:22 2017 +0000
+++ b/chat/smirk/distinfo       Tue Jan 03 21:27:33 2017 +0000
@@ -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 -r 8ab7ac39948c -r e0973e5d8c95 chat/smirk/patches/patch-src_comm.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/smirk/patches/patch-src_comm.c       Tue Jan 03 21:27:33 2017 +0000
@@ -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 -r 8ab7ac39948c -r e0973e5d8c95 chat/smirk/patches/patch-src_forms.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/smirk/patches/patch-src_forms.c      Tue Jan 03 21:27:33 2017 +0000
@@ -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"
+ 



Home | Main Index | Thread Index | Old Index