summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache>2009-01-08 11:58:31 +0000
committerobache <obache>2009-01-08 11:58:31 +0000
commit3739a0f56c76e2c180c14eb4e190a73ac27f3b98 (patch)
treee8f0af0e3f17079c85a1ff86716631838804215b /www
parentc0817a8fc1c8b6fbfed36176db80a36f1efe0580 (diff)
downloadpkgsrc-3739a0f56c76e2c180c14eb4e190a73ac27f3b98.tar.gz
Add missing portability fix patch.
Diffstat (limited to 'www')
-rw-r--r--www/htmldoc/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/htmldoc/patches/patch-aa b/www/htmldoc/patches/patch-aa
new file mode 100644
index 00000000000..f8df9a47545
--- /dev/null
+++ b/www/htmldoc/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.7 2009/01/08 11:58:31 obache Exp $
+
+Portability fix, s6_addr32 is not a standard.
+
+--- htmldoc/http-addrlist.c.orig 2006-06-20 15:23:49.000000000 +0000
++++ htmldoc/http-addrlist.c
+@@ -502,7 +502,7 @@ httpAddrGetList(const char *hostname, /*
+ # ifdef WIN32
+ temp->addr.ipv6.sin6_addr.u.Byte[15] = 1;
+ # else
+- temp->addr.ipv6.sin6_addr.s6_addr32[3] = htonl(1);
++ temp->addr.ipv6.sin6_addr.s6_addr[15] = 1;
+ # endif /* WIN32 */
+
+ if (!first)