diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-04-28 15:52:57 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-04-28 15:53:41 +0300 |
commit | 9f44646796c028e78f4572e82088bf011496a435 (patch) | |
tree | 34210668cbfb9ab85c3aa87b65085098d0241d12 /www-servers/lighttpd/files | |
parent | dev-util/radare2: drop USE=-system-capstone (diff) | |
download | gentoo-9f44646796c028e78f4572e82088bf011496a435.tar.gz gentoo-9f44646796c028e78f4572e82088bf011496a435.tar.bz2 gentoo-9f44646796c028e78f4572e82088bf011496a435.zip |
www-servers/lighttpd: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'www-servers/lighttpd/files')
-rw-r--r-- | www-servers/lighttpd/files/lighttpd-1.4.47-3d257ec3-respect-HAVE_IPV6.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/www-servers/lighttpd/files/lighttpd-1.4.47-3d257ec3-respect-HAVE_IPV6.patch b/www-servers/lighttpd/files/lighttpd-1.4.47-3d257ec3-respect-HAVE_IPV6.patch deleted file mode 100644 index 7916ac0b53f3..000000000000 --- a/www-servers/lighttpd/files/lighttpd-1.4.47-3d257ec3-respect-HAVE_IPV6.patch +++ /dev/null @@ -1,31 +0,0 @@ -Backport upstream fixes for Gentoo bug #636650 - -Original upstream commit message: - -Author: nicorac <claudio.nicora@gmail.com> -Date: Wed Oct 25 16:48:24 2017 +0200 - - [core] fix build --disable-ipv6 (fixes #2832) - - x-ref: - "Build error on systems without IPV6 support (regression from 1.4.46)" - https://redmine.lighttpd.net/issues/2832 - - github: closes #87 - ---- a/src/network.c -+++ b/src/network.c -@@ -77,9 +77,13 @@ static void network_host_normalize_addr_str(buffer *host, sock_addr *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); -+ #else -+ unsigned short port = ntohs(addr->ipv4.sin_port); -+ #endif - buffer_append_string_len(host, CONST_STR_LEN(":")); - buffer_append_int(host, (int)port); - } |