pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/htmldoc/patches Add missing portability fix patch.
details: https://anonhg.NetBSD.org/pkgsrc/rev/04208c067eaa
branches: trunk
changeset: 552733:04208c067eaa
user: obache <obache%pkgsrc.org@localhost>
date: Thu Jan 08 11:58:31 2009 +0000
description:
Add missing portability fix patch.
diffstat:
www/htmldoc/patches/patch-aa | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r c1ac44cbc7e3 -r 04208c067eaa www/htmldoc/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/htmldoc/patches/patch-aa Thu Jan 08 11:58:31 2009 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index