packages/net/nginx/patches/nginx/103-sys_nerr.patch
Ansuel Smith e9617f5532
nginx: bump to 1.21.1 and improve makefile
- Bump to 1.21.1
- Rework makefile to fix bad make refresh
- Refresh patch

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-22 18:49:03 +02:00

12 lines
256 B
Diff

--- a/src/os/unix/ngx_errno.c
+++ b/src/os/unix/ngx_errno.c
@@ -8,6 +8,9 @@
#include <ngx_config.h>
#include <ngx_core.h>
+#ifndef NGX_SYS_NERR
+#define NGX_SYS_NERR 128
+#endif
static ngx_str_t ngx_unknown_error = ngx_string("Unknown error");