summaryrefslogtreecommitdiff
path: root/package/nginx/patches/patch-auto_cc_conf
diff options
context:
space:
mode:
Diffstat (limited to 'package/nginx/patches/patch-auto_cc_conf')
-rw-r--r--package/nginx/patches/patch-auto_cc_conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/nginx/patches/patch-auto_cc_conf b/package/nginx/patches/patch-auto_cc_conf
new file mode 100644
index 000000000..bc516d82e
--- /dev/null
+++ b/package/nginx/patches/patch-auto_cc_conf
@@ -0,0 +1,20 @@
+--- nginx-1.2.2.orig/auto/cc/conf 2012-01-18 16:07:43.000000000 +0100
++++ nginx-1.2.2/auto/cc/conf 2012-07-16 09:27:16.000000000 +0200
+@@ -149,7 +149,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
+ else
+ ngx_feature="C99 variadic macros"
+ ngx_feature_name="NGX_HAVE_C99_VARIADIC_MACROS"
+- ngx_feature_run=yes
++ ngx_feature_run=no
+ ngx_feature_incs="#include <stdio.h>
+ #define var(dummy, ...) sprintf(__VA_ARGS__)"
+ ngx_feature_path=
+@@ -163,7 +163,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
+
+ ngx_feature="gcc variadic macros"
+ ngx_feature_name="NGX_HAVE_GCC_VARIADIC_MACROS"
+- ngx_feature_run=yes
++ ngx_feature_run=no
+ ngx_feature_incs="#include <stdio.h>
+ #define var(dummy, args...) sprintf(args)"
+ ngx_feature_path=