diff --git a/patches/nginx-1.19.3-proc_exit_handler.patch b/patches/nginx-1.19.3-proc_exit_handler.patch index 62f42a1..4f04afd 100644 --- a/patches/nginx-1.19.3-proc_exit_handler.patch +++ b/patches/nginx-1.19.3-proc_exit_handler.patch @@ -54,10 +54,11 @@ diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h index 3986639b..c5972541 100644 --- a/src/os/unix/ngx_process.h +++ b/src/os/unix/ngx_process.h -@@ -18,6 +18,7 @@ typedef pid_t ngx_pid_t; +@@ -18,6 +18,8 @@ typedef pid_t ngx_pid_t; #define NGX_INVALID_PID -1 typedef void (*ngx_spawn_proc_pt) (ngx_cycle_t *cycle, void *data); ++#define NGX_HAVE_PROC_EXIT 1 +typedef void (*ngx_proc_exit_pt)(ngx_pid_t pid); typedef struct { diff --git a/patches/nginx-1.19.9-proc_exit_handler.patch b/patches/nginx-1.19.9-proc_exit_handler.patch index 62f42a1..4f04afd 100644 --- a/patches/nginx-1.19.9-proc_exit_handler.patch +++ b/patches/nginx-1.19.9-proc_exit_handler.patch @@ -54,10 +54,11 @@ diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h index 3986639b..c5972541 100644 --- a/src/os/unix/ngx_process.h +++ b/src/os/unix/ngx_process.h -@@ -18,6 +18,7 @@ typedef pid_t ngx_pid_t; +@@ -18,6 +18,8 @@ typedef pid_t ngx_pid_t; #define NGX_INVALID_PID -1 typedef void (*ngx_spawn_proc_pt) (ngx_cycle_t *cycle, void *data); ++#define NGX_HAVE_PROC_EXIT 1 +typedef void (*ngx_proc_exit_pt)(ngx_pid_t pid); typedef struct { diff --git a/patches/nginx-1.21.3-proc_exit_handler.patch b/patches/nginx-1.21.3-proc_exit_handler.patch index 62f42a1..4f04afd 100644 --- a/patches/nginx-1.21.3-proc_exit_handler.patch +++ b/patches/nginx-1.21.3-proc_exit_handler.patch @@ -54,10 +54,11 @@ diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h index 3986639b..c5972541 100644 --- a/src/os/unix/ngx_process.h +++ b/src/os/unix/ngx_process.h -@@ -18,6 +18,7 @@ typedef pid_t ngx_pid_t; +@@ -18,6 +18,8 @@ typedef pid_t ngx_pid_t; #define NGX_INVALID_PID -1 typedef void (*ngx_spawn_proc_pt) (ngx_cycle_t *cycle, void *data); ++#define NGX_HAVE_PROC_EXIT 1 +typedef void (*ngx_proc_exit_pt)(ngx_pid_t pid); typedef struct { diff --git a/patches/nginx-1.21.4-proc_exit_handler.patch b/patches/nginx-1.21.4-proc_exit_handler.patch index 62f42a1..4f04afd 100644 --- a/patches/nginx-1.21.4-proc_exit_handler.patch +++ b/patches/nginx-1.21.4-proc_exit_handler.patch @@ -54,10 +54,11 @@ diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h index 3986639b..c5972541 100644 --- a/src/os/unix/ngx_process.h +++ b/src/os/unix/ngx_process.h -@@ -18,6 +18,7 @@ typedef pid_t ngx_pid_t; +@@ -18,6 +18,8 @@ typedef pid_t ngx_pid_t; #define NGX_INVALID_PID -1 typedef void (*ngx_spawn_proc_pt) (ngx_cycle_t *cycle, void *data); ++#define NGX_HAVE_PROC_EXIT 1 +typedef void (*ngx_proc_exit_pt)(ngx_pid_t pid); typedef struct { diff --git a/patches/nginx-1.25.3-proc_exit_handler.patch b/patches/nginx-1.25.3-proc_exit_handler.patch index 62f42a1..4f04afd 100644 --- a/patches/nginx-1.25.3-proc_exit_handler.patch +++ b/patches/nginx-1.25.3-proc_exit_handler.patch @@ -54,10 +54,11 @@ diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h index 3986639b..c5972541 100644 --- a/src/os/unix/ngx_process.h +++ b/src/os/unix/ngx_process.h -@@ -18,6 +18,7 @@ typedef pid_t ngx_pid_t; +@@ -18,6 +18,8 @@ typedef pid_t ngx_pid_t; #define NGX_INVALID_PID -1 typedef void (*ngx_spawn_proc_pt) (ngx_cycle_t *cycle, void *data); ++#define NGX_HAVE_PROC_EXIT 1 +typedef void (*ngx_proc_exit_pt)(ngx_pid_t pid); typedef struct { diff --git a/patches/nginx-1.27.0-proc_exit_handler.patch b/patches/nginx-1.27.0-proc_exit_handler.patch index 62f42a1..4f04afd 100644 --- a/patches/nginx-1.27.0-proc_exit_handler.patch +++ b/patches/nginx-1.27.0-proc_exit_handler.patch @@ -54,10 +54,11 @@ diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h index 3986639b..c5972541 100644 --- a/src/os/unix/ngx_process.h +++ b/src/os/unix/ngx_process.h -@@ -18,6 +18,7 @@ typedef pid_t ngx_pid_t; +@@ -18,6 +18,8 @@ typedef pid_t ngx_pid_t; #define NGX_INVALID_PID -1 typedef void (*ngx_spawn_proc_pt) (ngx_cycle_t *cycle, void *data); ++#define NGX_HAVE_PROC_EXIT 1 +typedef void (*ngx_proc_exit_pt)(ngx_pid_t pid); typedef struct { diff --git a/patches/nginx-1.27.1-proc_exit_handler.patch b/patches/nginx-1.27.1-proc_exit_handler.patch index 62f42a1..4f04afd 100644 --- a/patches/nginx-1.27.1-proc_exit_handler.patch +++ b/patches/nginx-1.27.1-proc_exit_handler.patch @@ -54,10 +54,11 @@ diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h index 3986639b..c5972541 100644 --- a/src/os/unix/ngx_process.h +++ b/src/os/unix/ngx_process.h -@@ -18,6 +18,7 @@ typedef pid_t ngx_pid_t; +@@ -18,6 +18,8 @@ typedef pid_t ngx_pid_t; #define NGX_INVALID_PID -1 typedef void (*ngx_spawn_proc_pt) (ngx_cycle_t *cycle, void *data); ++#define NGX_HAVE_PROC_EXIT 1 +typedef void (*ngx_proc_exit_pt)(ngx_pid_t pid); typedef struct {