FreeBSD Bugzilla – Attachment 242082 Details for
Bug 271335
www/lighttpd: fix listening on IPv6 and IPv4 addresses
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www/lighttpd: fix listening on IPv6 addresses
0001-www-lighttpd-fix-listening-on-IPv6-addresses.patch (text/plain), 1.20 KB, created by
R. Christian McDonald
on 2023-05-09 19:57:37 UTC
(
hide
)
Description:
www/lighttpd: fix listening on IPv6 addresses
Filename:
MIME Type:
Creator:
R. Christian McDonald
Created:
2023-05-09 19:57:37 UTC
Size:
1.20 KB
patch
obsolete
>From fa29ccbf9c895ba8bac4074425c668a77fd13474 Mon Sep 17 00:00:00 2001 >From: "R. Christian McDonald" <rcm@rcm.sh> >Date: Tue, 9 May 2023 04:10:03 -0400 >Subject: [PATCH] www/lighttpd: fix listening on IPv6 addresses > >--- > www/lighttpd/Makefile | 1 + > www/lighttpd/files/patch-src_sock__addr.c | 12 ++++++++++++ > 2 files changed, 13 insertions(+) > create mode 100644 www/lighttpd/files/patch-src_sock__addr.c > >diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile >index 46d3a7ba347b..898dad90787f 100644 >--- a/www/lighttpd/Makefile >+++ b/www/lighttpd/Makefile >@@ -1,5 +1,6 @@ > PORTNAME?= lighttpd > PORTVERSION= 1.4.69 >+PORTREVISION= 1 > CATEGORIES?= www > MASTER_SITES?= https://download.lighttpd.net/lighttpd/releases-1.4.x/ > >diff --git a/www/lighttpd/files/patch-src_sock__addr.c b/www/lighttpd/files/patch-src_sock__addr.c >new file mode 100644 >index 000000000000..0e7a1a4e08a3 >--- /dev/null >+++ b/www/lighttpd/files/patch-src_sock__addr.c >@@ -0,0 +1,12 @@ >+--- src/sock_addr.c.orig 2023-05-09 08:07:14 UTC >++++ src/sock_addr.c >+@@ -19,6 +19,9 @@ >+ >+ #include "log.h" >+ >++#ifdef EAI_ADDRFAMILY >++#undef EAI_ADDRFAMILY >++#endif >+ >+ unsigned short sock_addr_get_port (const sock_addr *saddr) >+ { >-- >2.40.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271335
:
242082
|
242197