summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2014-04-15 12:20:40 +0000
committertron <tron@pkgsrc.org>2014-04-15 12:20:40 +0000
commit32e3c026549ba36be83654af349db4a2a4b7116a (patch)
tree6c298c47e653db5b005ee5425bb833c375b61031
parenta8d6da49449371333e00f6b5e79f66841cacd5ad (diff)
downloadpkgsrc-32e3c026549ba36be83654af349db4a2a4b7116a.tar.gz
Pullup ticket #4377 - requested by asau
www/curl: build fix Revisions pulled up: - www/curl/distinfo 1.94 - www/curl/patches/patch-lib_hostcheck.c 1.1 --- Module Name: pkgsrc Committed By: wiz Date: Mon Mar 31 08:45:21 UTC 2014 Modified Files: pkgsrc/www/curl: distinfo Added Files: pkgsrc/www/curl/patches: patch-lib_hostcheck.c Log Message: Add missing header for DragonflyBSD. PR 48691 by David Shao.
-rw-r--r--www/curl/distinfo3
-rw-r--r--www/curl/patches/patch-lib_hostcheck.c21
2 files changed, 23 insertions, 1 deletions
diff --git a/www/curl/distinfo b/www/curl/distinfo
index ce1c6d55a0b..22e04e56e73 100644
--- a/www/curl/distinfo
+++ b/www/curl/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.93 2014/03/30 12:57:54 spz Exp $
+$NetBSD: distinfo,v 1.93.2.1 2014/04/15 12:20:40 tron Exp $
SHA1 (curl-7.36.0.tar.bz2) = c39b120585a8a8d64ef14459d6d5f22831d4a7c4
RMD160 (curl-7.36.0.tar.bz2) = 864f0fe3a15f016cf79bf47172a2ae6a54e0cce4
Size (curl-7.36.0.tar.bz2) = 2809266 bytes
SHA1 (patch-aa) = 41bbc1e6c17c8ff1bf826d7d8ccdaec9ad9e97ed
SHA1 (patch-curl-config.in) = fd87c97b601a6b9269f67fbc066604ee7e22570e
+SHA1 (patch-lib_hostcheck.c) = 9faf94f44703c7d37377fd3af319ca5c27df34c2
diff --git a/www/curl/patches/patch-lib_hostcheck.c b/www/curl/patches/patch-lib_hostcheck.c
new file mode 100644
index 00000000000..c2871f65e7a
--- /dev/null
+++ b/www/curl/patches/patch-lib_hostcheck.c
@@ -0,0 +1,21 @@
+$NetBSD: patch-lib_hostcheck.c,v 1.1.2.2 2014/04/15 12:20:40 tron Exp $
+
+Add missing header for DragonflyBSD.
+PR 48691 by David Shao.
+
+--- lib/hostcheck.c.orig 2014-03-25 22:01:37.000000000 +0000
++++ lib/hostcheck.c
+@@ -31,6 +31,13 @@
+ #include "inet_pton.h"
+
+ #include "curl_memory.h"
++
++#ifdef ENABLE_IPV6
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++#endif
++
+ /* The last #include file should be: */
+ #include "memdebug.h"
+