naota       14/04/13 00:43:13

  Added:                curl-7.36.0-hostcheck.patch
  Log:
  Add a upstream patch to build on FreeBSD. #507494
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
F8551514)

Revision  Changes    Path
1.1                  net-misc/curl/files/curl-7.36.0-hostcheck.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/files/curl-7.36.0-hostcheck.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/files/curl-7.36.0-hostcheck.patch?rev=1.1&content-type=text/plain

Index: curl-7.36.0-hostcheck.patch
===================================================================
>From a8c7cf62811d688efeff49f8f9ab942b525ebfd4 Mon Sep 17 00:00:00 2001
From: Dan Fandrich <[email protected]>
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





Reply via email to