summaryrefslogtreecommitdiff
path: root/net/jumpgate
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-03 17:11:34 +0000
committertv <tv@pkgsrc.org>2005-11-03 17:11:34 +0000
commita1b276b989e3b5ae3d86cc8e0cf1658653329098 (patch)
tree4e75e8a0d4efa0a4454b97dd068ed451af1a1081 /net/jumpgate
parent69b1807a43da187c15ad6f54b570bb2eb4d36e81 (diff)
downloadpkgsrc-a1b276b989e3b5ae3d86cc8e0cf1658653329098.tar.gz
Build fixes for Interix (socklen_t; <sys/time.h> for fd_set).
Diffstat (limited to 'net/jumpgate')
-rw-r--r--net/jumpgate/distinfo3
-rw-r--r--net/jumpgate/hacks.mk10
-rw-r--r--net/jumpgate/patches/patch-aa12
3 files changed, 24 insertions, 1 deletions
diff --git a/net/jumpgate/distinfo b/net/jumpgate/distinfo
index 17f13cb2bc3..91457e31809 100644
--- a/net/jumpgate/distinfo
+++ b/net/jumpgate/distinfo
@@ -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 --git a/net/jumpgate/hacks.mk b/net/jumpgate/hacks.mk
new file mode 100644
index 00000000000..66edfa65a74
--- /dev/null
+++ b/net/jumpgate/hacks.mk
@@ -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 --git a/net/jumpgate/patches/patch-aa b/net/jumpgate/patches/patch-aa
new file mode 100644
index 00000000000..d9170ef9621
--- /dev/null
+++ b/net/jumpgate/patches/patch-aa
@@ -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>