diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /www-servers/mongrel2/files/mongrel2-1.11.0-fno-common.patch | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'www-servers/mongrel2/files/mongrel2-1.11.0-fno-common.patch')
-rw-r--r-- | www-servers/mongrel2/files/mongrel2-1.11.0-fno-common.patch | 31 |
1 files changed, 31 insertions, 0 deletions
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 <bstring.h> + #include <unistd.h> + +-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 <sys/wait.h> + #include <sys/stat.h> + ++extern char *m2program; + extern char **environ; + + static int RUNNING = 1; |