svn commit: r328648 - head/www/lighttpd/files

Martin Matuska mm at FreeBSD.org
Sun Sep 29 05:39:37 UTC 2013


Author: mm
Date: Sun Sep 29 05:39:36 2013
New Revision: 328648
URL: http://svnweb.freebsd.org/changeset/ports/328648

Log:
  Fix compilation with disabled IPV6

Added:
  head/www/lighttpd/files/patch-src-mod_extforward.c   (contents, props changed)

Added: head/www/lighttpd/files/patch-src-mod_extforward.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/lighttpd/files/patch-src-mod_extforward.c	Sun Sep 29 05:39:36 2013	(r328648)
@@ -0,0 +1,10 @@
+--- src/mod_extforward.c.orig	2013-09-29 07:35:49.552153230 +0200
++++ src/mod_extforward.c	2013-09-29 07:35:58.633202984 +0200
+@@ -439,7 +439,6 @@
+ #ifdef HAVE_IPV6
+ 		ipstr_to_sockaddr(srv, real_remote_addr, &sock);
+ #else
+-		UNUSED(addrs_left);
+ 		sock.ipv4.sin_addr.s_addr = inet_addr(real_remote_addr);
+ 		sock.plain.sa_family = (sock.ipv4.sin_addr.s_addr == 0xFFFFFFFF) ? AF_UNSPEC : AF_INET;
+ #endif


More information about the svn-ports-all mailing list