FreeBSD Bugzilla – Attachment 176239 Details for
Bug 213848
www/lighttpd: Version 1.4.42 update does not work with FreeBSD 9.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
lighttpd.diff (text/plain), 1.30 KB, created by
Guido Falsi
on 2016-10-28 12:26:44 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2016-10-28 12:26:44 UTC
Size:
1.30 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 424827) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME?= lighttpd > PORTVERSION= 1.4.42 >+PORTREVISION= 1 > CATEGORIES?= www > MASTER_SITES?= http://download.lighttpd.net/lighttpd/releases-1.4.x/ > >Index: files/patch-src_mod__cgi.c >=================================================================== >--- files/patch-src_mod__cgi.c (nonexistent) >+++ files/patch-src_mod__cgi.c (working copy) >@@ -0,0 +1,14 @@ >+--- src/mod_cgi.c.orig 2016-10-16 10:48:26 UTC >++++ src/mod_cgi.c >+@@ -36,9 +36,9 @@ >+ #include <stdio.h> >+ #include <fcntl.h> >+ >+-#ifdef O_CLOEXEC >++#if defined(O_CLOEXEC) && __FreeBSD_version >= 1000032 >+ #define pipe_cloexec(pipefd) pipe2((pipefd), O_CLOEXEC) >+-#elif defined FD_CLOEXEC >++#elif defined(FD_CLOEXEC) && __FreeBSD_version >= 1000032 >+ #define pipe_cloexec(pipefd) \ >+ ( 0 == pipe(pipefd) \ >+ && 0 == fcntl(pipefd[0], F_SETFD, FD_CLOEXEC) \ > >Property changes on: files/patch-src_mod__cgi.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
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 213848
:
176239
|
176240
|
176244
|
176432