summaryrefslogtreecommitdiff
path: root/www/htmldoc
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-01-08 11:58:31 +0000
committerobache <obache@pkgsrc.org>2009-01-08 11:58:31 +0000
commit02a72c740a9925366ac112813cb53d2922dd9fb1 (patch)
treee8f0af0e3f17079c85a1ff86716631838804215b /www/htmldoc
parent958c9461d32415d764e34783b69a5a439c50cf34 (diff)
downloadpkgsrc-02a72c740a9925366ac112813cb53d2922dd9fb1.tar.gz
Add missing portability fix patch.
Diffstat (limited to 'www/htmldoc')
-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)