diff options
author | 2014-04-13 00:43:23 +0000 | |
---|---|---|
committer | 2014-04-13 00:43:23 +0000 | |
commit | 1d95373925e1830739011f4670137a306040ecce (patch) | |
tree | 8344614696390c33e16e20018668fe635e1b74ae /net-misc/curl/files | |
parent | Use 0 instead of root for group name. #507466 (diff) | |
download | historical-1d95373925e1830739011f4670137a306040ecce.tar.gz historical-1d95373925e1830739011f4670137a306040ecce.tar.bz2 historical-1d95373925e1830739011f4670137a306040ecce.zip |
Add a upstream patch to build on FreeBSD. #507494
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xF8551514
Diffstat (limited to 'net-misc/curl/files')
-rw-r--r-- | net-misc/curl/files/curl-7.36.0-hostcheck.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net-misc/curl/files/curl-7.36.0-hostcheck.patch b/net-misc/curl/files/curl-7.36.0-hostcheck.patch new file mode 100644 index 000000000000..243159d90d72 --- /dev/null +++ b/net-misc/curl/files/curl-7.36.0-hostcheck.patch @@ -0,0 +1,27 @@ +From a8c7cf62811d688efeff49f8f9ab942b525ebfd4 Mon Sep 17 00:00:00 2001 +From: Dan Fandrich <dan@coneharvesters.com> +Date: Wed, 26 Mar 2014 22:27:34 +0100 +Subject: [PATCH] hostcheck: added a system include to define struct in_addr + +--- + lib/hostcheck.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/lib/hostcheck.c b/lib/hostcheck.c +index 162c522..42eb2ee 100644 +--- a/lib/hostcheck.c ++++ b/lib/hostcheck.c +@@ -26,6 +26,10 @@ + defined(USE_GSKIT) + /* these backends use functions from this file */ + ++#ifdef HAVE_NETINET_IN_H ++#include <netinet/in.h> ++#endif ++ + #include "hostcheck.h" + #include "rawstr.h" + #include "inet_pton.h" +-- +1.9.1 + |