pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/icbirc Make build on Interix (no socklen_t, fd_se...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0013e288e4ee
branches:  trunk
changeset: 490426:0013e288e4ee
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Mar 10 13:22:00 2005 +0000

description:
Make build on Interix (no socklen_t, fd_set requires <sys/time.h>).

diffstat:

 chat/icbirc/Makefile         |   3 ++-
 chat/icbirc/distinfo         |   3 ++-
 chat/icbirc/patches/patch-aa |  12 ++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r b675c3737b44 -r 0013e288e4ee chat/icbirc/Makefile
--- a/chat/icbirc/Makefile      Thu Mar 10 12:55:08 2005 +0000
+++ b/chat/icbirc/Makefile      Thu Mar 10 13:22:00 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/11/19 13:03:30 tv Exp $
+# $NetBSD: Makefile,v 1.7 2005/03/10 13:22:00 tv Exp $
 
 DISTNAME=      icbirc-1.8
 CATEGORIES=    chat
@@ -13,6 +13,7 @@
 
 SRCS=          icb.c irc.c icbirc.c
 
+CPPFLAGS.Interix+= -Dsocklen_t=int
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
 do-build:
diff -r b675c3737b44 -r 0013e288e4ee chat/icbirc/distinfo
--- a/chat/icbirc/distinfo      Thu Mar 10 12:55:08 2005 +0000
+++ b/chat/icbirc/distinfo      Thu Mar 10 13:22:00 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 15:59:11 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/03/10 13:22:01 tv Exp $
 
 SHA1 (icbirc-1.8.tar.gz) = 99ff8674b189fdf8a86b6acd2bc19418b888c38b
 RMD160 (icbirc-1.8.tar.gz) = 769c35949b79b9e401d99026800e61063e6d1103
 Size (icbirc-1.8.tar.gz) = 11061 bytes
+SHA1 (patch-aa) = ee8e182618cb0563a9244b57de307f2f8a710f09
diff -r b675c3737b44 -r 0013e288e4ee chat/icbirc/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/icbirc/patches/patch-aa      Thu Mar 10 13:22:00 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.4 2005/03/10 13:22:01 tv Exp $
+
+--- icbirc.c.orig      Thu Nov 18 16:14:28 2004
++++ icbirc.c
+@@ -35,6 +35,7 @@ static const char rcsid[] = "$Id: icbirc
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
++#include <sys/time.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <ctype.h>



Home | Main Index | Thread Index | Old Index