diff --git a/patches/nginx-1.4.3-larger_max_error_str.patch b/patches/nginx-1.4.3-larger_max_error_str.patch new file mode 100644 index 0000000..2a135e9 --- /dev/null +++ b/patches/nginx-1.4.3-larger_max_error_str.patch @@ -0,0 +1,11 @@ +--- nginx-1.4.3/src/core/ngx_log.h 2013-10-08 05:07:14.000000000 -0700 ++++ nginx-1.4.3-patched/src/core/ngx_log.h 2013-12-05 20:29:23.919775213 -0800 +@@ -64,7 +64,7 @@ struct ngx_log_s { + }; + + +-#define NGX_MAX_ERROR_STR 2048 ++#define NGX_MAX_ERROR_STR 4096 + + + /*********************************/ diff --git a/util/mirror-tarballs b/util/mirror-tarballs index befa33a..95c12ae 100755 --- a/util/mirror-tarballs +++ b/util/mirror-tarballs @@ -210,6 +210,10 @@ if [ "$answer" = "N" ]; then echo fi +echo "$info_txt applying the larger_max_error_str patch for nginx $ver" +patch -p1 < $root/patches/nginx-$ver-larger_max_error_str.patch || exit 1 +echo + rm -f *.patch || exit 1 cd .. || exit 1