pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/jumpgate Build fixes for Interix (socklen_t; <sys/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c58166312d53
branches:  trunk
changeset: 502258:c58166312d53
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Nov 03 17:11:34 2005 +0000

description:
Build fixes for Interix (socklen_t; <sys/time.h> for fd_set).

diffstat:

 net/jumpgate/distinfo         |   3 ++-
 net/jumpgate/hacks.mk         |  10 ++++++++++
 net/jumpgate/patches/patch-aa |  12 ++++++++++++
 3 files changed, 24 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 282c1771cbbc -r c58166312d53 net/jumpgate/distinfo
--- a/net/jumpgate/distinfo     Thu Nov 03 17:06:13 2005 +0000
+++ b/net/jumpgate/distinfo     Thu Nov 03 17:11:34 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:13:51 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/11/03 17:11:34 tv Exp $
 
 SHA1 (jumpgate-0.7.tar.gz) = 2edfe95746b94d30e325dc06fa489f3352107808
 RMD160 (jumpgate-0.7.tar.gz) = 1414be6f18e8dc4b335bd96dfa35ed56e7bf805d
 Size (jumpgate-0.7.tar.gz) = 40789 bytes
+SHA1 (patch-aa) = 6d51f954f0ee02a255c1493de8d33d4838bec964
diff -r 282c1771cbbc -r c58166312d53 net/jumpgate/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/jumpgate/hacks.mk     Thu Nov 03 17:11:34 2005 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2005/11/03 17:11:34 tv Exp $
+
+###
+### Define socklen_t on platforms without it, until maintainer adds
+### this check to autoconf tests
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+=    socklen-int
+CPPFLAGS+=     -Dsocklen_t=int
+.endif
diff -r 282c1771cbbc -r c58166312d53 net/jumpgate/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/jumpgate/patches/patch-aa     Thu Nov 03 17:11:34 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2005/11/03 17:11:34 tv Exp $
+
+--- jumpgate.h.orig    2002-11-29 16:00:12.000000000 -0500
++++ jumpgate.h
+@@ -17,6 +17,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/socket.h>
++#include <sys/time.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <netdb.h>



Home | Main Index | Thread Index | Old Index