summaryrefslogtreecommitdiff
path: root/www/curl/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/curl/patches/patch-aa')
-rw-r--r--www/curl/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/curl/patches/patch-aa b/www/curl/patches/patch-aa
new file mode 100644
index 00000000000..90dc3dceef8
--- /dev/null
+++ b/www/curl/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2002/03/15 08:18:46 itojun Exp $
+
+--- lib/hostip.c- Fri Mar 15 17:14:26 2002
++++ lib/hostip.c Fri Mar 15 17:14:32 2002
+@@ -293,7 +293,7 @@
+ char sbuf[NI_MAXSERV];
+
+ memset(&hints, 0, sizeof(hints));
+- hints.ai_family = PF_INET;
++ hints.ai_family = PF_UNSPEC;
+ hints.ai_socktype = SOCK_STREAM;
+ hints.ai_flags = AI_CANONNAME;
+ snprintf(sbuf, sizeof(sbuf), "%d", port);