summaryrefslogtreecommitdiff
path: root/www/lighttpd/files/patch-src_mod__cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/lighttpd/files/patch-src_mod__cgi.c')
-rw-r--r--www/lighttpd/files/patch-src_mod__cgi.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/www/lighttpd/files/patch-src_mod__cgi.c b/www/lighttpd/files/patch-src_mod__cgi.c
deleted file mode 100644
index cb5e96cb8d57..000000000000
--- a/www/lighttpd/files/patch-src_mod__cgi.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/mod_cgi.c.orig 2016-10-16 10:48:26 UTC
-+++ src/mod_cgi.c
-@@ -32,13 +32,14 @@
- #include <signal.h>
- #include <ctype.h>
- #include <assert.h>
-+#include <sys/param.h>
-
- #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)
- #define pipe_cloexec(pipefd) \
- ( 0 == pipe(pipefd) \
- && 0 == fcntl(pipefd[0], F_SETFD, FD_CLOEXEC) \