From d99093fb4bb5652015c06274d64083daa2439e4f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Mar 2021 10:28:17 +0000 Subject: gentoo resync : 03.03.2021 --- .../files/mongrel2-1.11.0-fno-common.patch | 31 ++++++++++++++++++++++ .../mongrel2-1.11.0-polarssl-platform-590512.patch | 8 +++--- 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 www-servers/mongrel2/files/mongrel2-1.11.0-fno-common.patch (limited to 'www-servers/mongrel2/files') diff --git a/www-servers/mongrel2/files/mongrel2-1.11.0-fno-common.patch b/www-servers/mongrel2/files/mongrel2-1.11.0-fno-common.patch new file mode 100644 index 000000000000..1c95f6b7c2d5 --- /dev/null +++ b/www-servers/mongrel2/files/mongrel2-1.11.0-fno-common.patch @@ -0,0 +1,31 @@ +--- a/src/mongrel2.c ++++ b/src/mongrel2.c +@@ -55,6 +55,7 @@ + #include "logrotate.h" + #include "register.h" + ++extern char *m2program; + extern int RUNNING; + extern uint32_t THE_CURRENT_TIME_IS; + int RELOAD = 0; +--- a/src/unixy.h ++++ b/src/unixy.h +@@ -38,7 +38,7 @@ + #include + #include + +-char *m2program; ++extern char *m2program; + + int Unixy_chroot(bstring path); + +--- a/tools/procer/procer.c ++++ b/tools/procer/procer.c +@@ -9,6 +9,7 @@ + #include + #include + ++extern char *m2program; + extern char **environ; + + static int RUNNING = 1; diff --git a/www-servers/mongrel2/files/mongrel2-1.11.0-polarssl-platform-590512.patch b/www-servers/mongrel2/files/mongrel2-1.11.0-polarssl-platform-590512.patch index 0e5957e551b8..c67dc060c8a4 100644 --- a/www-servers/mongrel2/files/mongrel2-1.11.0-polarssl-platform-590512.patch +++ b/www-servers/mongrel2/files/mongrel2-1.11.0-polarssl-platform-590512.patch @@ -1,6 +1,6 @@ # Fix missing include for newer mbedtls ---- a/src/io.h 2016-08-04 15:55:53.124890328 -0700 -+++ b/src/io.h 2015-12-31 01:25:07.000000000 -0800 +--- a/src/io.h ++++ b/src/io.h @@ -6,6 +6,7 @@ #endif @@ -9,8 +9,8 @@ #include #include #include "server.h" ---- a/src/server.h 2016-08-04 15:54:49.539498093 -0700 -+++ b/src/server.h 2015-12-31 01:25:07.000000000 -0800 +--- a/src/server.h ++++ b/src/server.h @@ -39,6 +39,7 @@ #include "adt/darray.h" #include "host.h" -- cgit v1.2.3