Index: head/www/lighttpd/files/patch-patch-src__network.c =================================================================== --- head/www/lighttpd/files/patch-patch-src__network.c (revision 453241) +++ head/www/lighttpd/files/patch-patch-src__network.c (nonexistent) @@ -1,19 +0,0 @@ ---- patch-src_network.c.orig 2017-10-28 15:54:22 UTC -+++ patch-src_network.c -@@ -0,0 +1,16 @@ -+--- src/network.c.orig 2017-10-28 14:00:17 UTC -++++ src/network.c -+@@ -77,9 +77,13 @@ static void network_host_normalize_addr_ -+ if (addr->plain.sa_family == AF_INET6) -+ buffer_append_string_len(host, CONST_STR_LEN("]")); -+ if (addr->plain.sa_family != AF_UNIX) { -++#ifdef HAVE_IPV6 -+ unsigned short port = (addr->plain.sa_family == AF_INET) -+ ? ntohs(addr->ipv4.sin_port) -+ : ntohs(addr->ipv6.sin6_port); -++#elif -++ unsigned short port = ntohs(addr->ipv6.sin6_port); -++#endif -+ buffer_append_string_len(host, CONST_STR_LEN(":")); -+ buffer_append_int(host, (int)port); -+ } Property changes on: head/www/lighttpd/files/patch-patch-src__network.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/lighttpd/files/patch-src_network.c =================================================================== --- head/www/lighttpd/files/patch-src_network.c (nonexistent) +++ head/www/lighttpd/files/patch-src_network.c (revision 453242) @@ -0,0 +1,16 @@ +--- src/network.c.orig 2017-10-22 20:09:57 UTC ++++ src/network.c +@@ -77,9 +77,13 @@ static void network_host_normalize_addr_str(buffer *ho + if (addr->plain.sa_family == AF_INET6) + buffer_append_string_len(host, CONST_STR_LEN("]")); + if (addr->plain.sa_family != AF_UNIX) { ++#ifdef HAVE_IPV6 + unsigned short port = (addr->plain.sa_family == AF_INET) + ? ntohs(addr->ipv4.sin_port) + : ntohs(addr->ipv6.sin6_port); ++#else ++ unsigned short port = ntohs(addr->ipv4.sin_port); ++#endif + buffer_append_string_len(host, CONST_STR_LEN(":")); + buffer_append_int(host, (int)port); + } Property changes on: head/www/lighttpd/files/patch-src_network.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property