summaryrefslogtreecommitdiff
path: root/net/jwhois
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-02-14 21:24:49 +0000
committerjoerg <joerg@pkgsrc.org>2017-02-14 21:24:49 +0000
commit348a9fc847cac259c34c9faafc7d3b1bbc099bfd (patch)
tree5e3d5cf0b7e91be4eac09d02c8ba4edc384d03aa /net/jwhois
parent28fa4947f9439dd5b3b9f1b3f1f73b0125271ffc (diff)
downloadpkgsrc-348a9fc847cac259c34c9faafc7d3b1bbc099bfd.tar.gz
Add missing include.
Diffstat (limited to 'net/jwhois')
-rw-r--r--net/jwhois/distinfo4
-rw-r--r--net/jwhois/patches/patch-src_utils.c12
2 files changed, 12 insertions, 4 deletions
diff --git a/net/jwhois/distinfo b/net/jwhois/distinfo
index a7ecb9aa263..3a07fb096aa 100644
--- a/net/jwhois/distinfo
+++ b/net/jwhois/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2015/11/04 00:35:06 agc Exp $
+$NetBSD: distinfo,v 1.33 2017/02/14 21:25:19 joerg Exp $
SHA1 (jwhois-4.0.tar.gz) = 4bd4a35cb0c2593284e7ef161f533a8184645174
RMD160 (jwhois-4.0.tar.gz) = 552a61a17c2c4af8c1a5e7cd12e2e0f40d9f7dc8
@@ -8,4 +8,4 @@ SHA1 (patch-aa) = 65b75e9808a7e7f92fa1f4dece3fd89efb6c5201
SHA1 (patch-ab) = e2b35b66adae6caba8a778194ff0238a31006b0b
SHA1 (patch-ac) = 3a23d56b9dfd3664d2a5e783f6f349bba1cbfa54
SHA1 (patch-ad) = d72d60593c8168d2f49c545c6af2d4fafaebd88a
-SHA1 (patch-src_utils.c) = 43cb9ff7f423b7a35577eb53a5bded83d8d21ec9
+SHA1 (patch-src_utils.c) = a13bf447b9559760d8bffb65b1256d564170220d
diff --git a/net/jwhois/patches/patch-src_utils.c b/net/jwhois/patches/patch-src_utils.c
index 8c09880945e..aaf501809ea 100644
--- a/net/jwhois/patches/patch-src_utils.c
+++ b/net/jwhois/patches/patch-src_utils.c
@@ -1,8 +1,16 @@
-$NetBSD: patch-src_utils.c,v 1.1 2012/10/23 20:49:38 shattered Exp $
+$NetBSD: patch-src_utils.c,v 1.2 2017/02/14 21:25:20 joerg Exp $
--- src/utils.c.orig 2007-06-26 07:00:20.000000000 +0000
+++ src/utils.c
-@@ -288,7 +288,7 @@ make_connect(const char *host, int port)
+@@ -38,6 +38,7 @@
+ # include <netdb.h>
+ #endif
+
++#include <sys/time.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
+@@ -288,7 +289,7 @@ make_connect(const char *host, int port)
retlen = sizeof(retval);
error = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &retval, &retlen);