summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 16:13:51 +0000
committerhans <hans@pkgsrc.org>2012-02-16 16:13:51 +0000
commit34b818fd25971f4421f17ce38c594a4571251964 (patch)
treefbff3a2584831c095c306429828089023184b9e4 /chat
parenta476d3d9eecbee46ed1b10ff55c34833a1c0ebe8 (diff)
downloadpkgsrc-34b818fd25971f4421f17ce38c594a4571251964.tar.gz
Fix build on SunOS.
Diffstat (limited to 'chat')
-rw-r--r--chat/xaric/distinfo4
-rw-r--r--chat/xaric/patches/patch-source_iflist.c15
-rw-r--r--chat/xaric/patches/patch-source_ircterm.c17
-rw-r--r--chat/xchat-python/Makefile4
4 files changed, 37 insertions, 3 deletions
diff --git a/chat/xaric/distinfo b/chat/xaric/distinfo
index 8935be0c427..937ebfd1524 100644
--- a/chat/xaric/distinfo
+++ b/chat/xaric/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2011/12/17 10:14:52 sbd Exp $
+$NetBSD: distinfo,v 1.7 2012/02/16 16:13:51 hans Exp $
SHA1 (xaric-0.12.1.tar.gz) = d01fc8d8189e18f3824cdccb539a97c1862ecdbe
RMD160 (xaric-0.12.1.tar.gz) = b78cd4496510642a967b1d173e150d3cbe836b5c
@@ -6,3 +6,5 @@ Size (xaric-0.12.1.tar.gz) = 435998 bytes
SHA1 (patch-Makefile.in) = 48dbe2a994c7192bebbf47847380692a35e91f29
SHA1 (patch-aa) = 25948e1723987bf93f713895d6f8ac5d23a1e404
SHA1 (patch-ab) = 33e89f44a22ed2ad3b14546e9f669013eb503ddd
+SHA1 (patch-source_iflist.c) = bb5d38525bbf45caeaf04ce3ac88196ba2001e6f
+SHA1 (patch-source_ircterm.c) = a9350d030d3c9312df13af0a1826edc1755e784e
diff --git a/chat/xaric/patches/patch-source_iflist.c b/chat/xaric/patches/patch-source_iflist.c
new file mode 100644
index 00000000000..c7a37fbd2b8
--- /dev/null
+++ b/chat/xaric/patches/patch-source_iflist.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-source_iflist.c,v 1.1 2012/02/16 16:13:51 hans Exp $
+
+--- source/iflist.c.orig 2001-11-24 09:07:57.000000000 +0100
++++ source/iflist.c 2012-01-24 20:36:11.838890687 +0100
+@@ -38,6 +38,10 @@
+ # include <assert.h>
+ #endif
+
++#ifdef __sun
++#include <sys/sockio.h>
++#endif
++
+ #include "irc.h"
+ #include "ircaux.h"
+ #include "iflist.h"
diff --git a/chat/xaric/patches/patch-source_ircterm.c b/chat/xaric/patches/patch-source_ircterm.c
new file mode 100644
index 00000000000..170a912ae7b
--- /dev/null
+++ b/chat/xaric/patches/patch-source_ircterm.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-source_ircterm.c,v 1.1 2012/02/16 16:13:51 hans Exp $
+
+--- source/ircterm.c.orig 2001-11-24 09:07:57.000000000 +0100
++++ source/ircterm.c 2012-01-24 20:14:53.277926058 +0100
+@@ -99,10 +99,12 @@ static int term_LE_cursor_left (void);
+ static int term_null_function (void);
+
+ /* these are missing on some systems */
++#ifndef __sun
+ extern char *tgetstr ();
+ extern int tgetent ();
+ extern char *getenv ();
+ extern char *tgoto(const char *, int, int);
++#endif
+
+
+ /* Setup the low level terminal disipline */
diff --git a/chat/xchat-python/Makefile b/chat/xchat-python/Makefile
index 0724e1d6c90..0dd5ddb8915 100644
--- a/chat/xchat-python/Makefile
+++ b/chat/xchat-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2012/02/06 12:39:39 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2012/02/16 16:15:01 hans Exp $
.include "../../chat/xchat/Makefile.common"
@@ -20,7 +20,7 @@ CONFIGURE_ENV+= ac_cv_path_pythonpath=${PYTHONBIN:Q}
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "Darwin"
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
SUBST_CLASSES+= libutil
SUBST_STAGE.libutil= pre-configure
SUBST_FILES.libutil= configure