From 6476f9adcd50adbe5d262ed37b1dca5081430bff Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Sun, 12 Oct 2014 22:14:39 +0200 Subject: [PATCH] package/nginx: fix build failure Correctly set NGX_SYS_NERR, even when it is 0. Fixes: http://autobuild.buildroot.org/results/666/666d780bf61e10c9f89f765bb04ddc1afc11d0d1/ http://autobuild.buildroot.org/?reason=nginx-1.6.2&&arch=powerpc Signed-off-by: Samuel Martin Signed-off-by: Peter Korsgaard --- ...-0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/nginx/nginx-0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch b/package/nginx/nginx-0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch index 4c00755b3e..d02de681a5 100644 --- a/package/nginx/nginx-0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch +++ b/package/nginx/nginx-0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch @@ -22,7 +22,7 @@ new file mode 100644 index 0000000..25e7c22 --- /dev/null +++ b/auto/os/sys_nerr -@@ -0,0 +1,77 @@ +@@ -0,0 +1,78 @@ + +# Copyright (C) Samuel Martin + @@ -89,6 +89,7 @@ index 0000000..25e7c22 + +if test -z $ngx_sys_nerr ; then + ngx_size=0 ++ ngx_sys_nerr=0 +fi + +cat << END >> $NGX_AUTO_CONFIG_H -- 2.30.2