From 6493ba203ba1167762e8bcd2d3dae278b5d779c1 Mon Sep 17 00:00:00 2001 From: its-pointless Date: Mon, 20 Jan 2020 13:50:43 +1100 Subject: [PATCH] php: avoid fcgi header --- packages/php/use-local-fastcgi-header.patch | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/php/use-local-fastcgi-header.patch diff --git a/packages/php/use-local-fastcgi-header.patch b/packages/php/use-local-fastcgi-header.patch new file mode 100644 index 000000000..d1c3cfc32 --- /dev/null +++ b/packages/php/use-local-fastcgi-header.patch @@ -0,0 +1,33 @@ +--- sapi/cgi/cgi_main.c.orig 2020-01-19 21:52:00.467616255 +0000 ++++ ./sapi/cgi/cgi_main.c 2020-01-19 21:52:20.367984090 +0000 +@@ -84,7 +84,7 @@ + + #include "php_getopt.h" + +-#include "fastcgi.h" ++#include "../../main/fastcgi.h" + + #if defined(PHP_WIN32) && defined(HAVE_OPENSSL) + # include "openssl/applink.c" +--- ./sapi/fpm/fpm/fpm_log.c.orig 2020-01-19 21:52:34.868252066 +0000 ++++ ./sapi/fpm/fpm/fpm_log.c 2020-01-19 21:53:28.639245436 +0000 +@@ -16,7 +16,7 @@ + #include "fpm_process_ctl.h" + #include "fpm_signals.h" + #include "fpm_scoreboard.h" +-#include "fastcgi.h" ++#include "../../../main/fastcgi.h" + #include "zlog.h" + + #ifdef MAX_LINE_LENGTH +--- ./sapi/fpm/fpm/fpm_main.c.orig 2020-01-19 21:54:35.180473976 +0000 ++++ ./sapi/fpm/fpm/fpm_main.c 2020-01-19 21:54:47.060693226 +0000 +@@ -80,7 +80,7 @@ + + #include "http_status_codes.h" + +-#include "fastcgi.h" ++#include "../../../main/fastcgi.h" + + #include + #include "fpm.h"