summaryrefslogtreecommitdiff
path: root/net/wget/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'net/wget/patches/patch-ad')
-rw-r--r--net/wget/patches/patch-ad14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/wget/patches/patch-ad b/net/wget/patches/patch-ad
new file mode 100644
index 00000000000..9a7bd3bac8b
--- /dev/null
+++ b/net/wget/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.5 2002/03/30 13:57:03 pooka Exp $
+
+--- src/host.c.orig Sun Jul 22 17:33:22 2001
++++ src/host.c Sun Jul 22 17:34:47 2001
+@@ -206,7 +206,9 @@
+ memset(sa, 0, *len);
+ *len = sizeof(struct sockaddr_in);
+ sa->sa_family = AF_INET;
++#ifndef __sun__
+ sa->sa_len = *len; /*XXX*/
++#endif
+
+ where = (char *)&((struct sockaddr_in *)sa)->sin_addr;
+