diff options
author | wiz <wiz@pkgsrc.org> | 2014-03-31 08:45:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-03-31 08:45:21 +0000 |
commit | eb789c17dd57375fcfa0c7d11445f9a9b0be4b11 (patch) | |
tree | 66a5e21829bba838ee4581e0b693d0aa439b2da9 /www/curl | |
parent | 61fb07a0d9ccc25e3a2b35eaca7bbdb368a570cb (diff) | |
download | pkgsrc-eb789c17dd57375fcfa0c7d11445f9a9b0be4b11.tar.gz |
Add missing header for DragonflyBSD.
PR 48691 by David Shao.
Diffstat (limited to 'www/curl')
-rw-r--r-- | www/curl/distinfo | 3 | ||||
-rw-r--r-- | www/curl/patches/patch-lib_hostcheck.c | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/www/curl/distinfo b/www/curl/distinfo index ce1c6d55a0b..0c66b179813 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.94 2014/03/31 08:45:21 wiz 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..8a773dbd8ba --- /dev/null +++ b/www/curl/patches/patch-lib_hostcheck.c @@ -0,0 +1,21 @@ +$NetBSD: patch-lib_hostcheck.c,v 1.1 2014/03/31 08:45:21 wiz 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" + |