summaryrefslogtreecommitdiff
path: root/package/nginx/patches/patch-auto_unix
diff options
context:
space:
mode:
Diffstat (limited to 'package/nginx/patches/patch-auto_unix')
-rw-r--r--package/nginx/patches/patch-auto_unix38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/nginx/patches/patch-auto_unix b/package/nginx/patches/patch-auto_unix
new file mode 100644
index 000000000..5a37087e6
--- /dev/null
+++ b/package/nginx/patches/patch-auto_unix
@@ -0,0 +1,38 @@
+--- nginx-1.2.2.orig/auto/unix 2012-07-02 18:51:02.000000000 +0200
++++ nginx-1.2.2/auto/unix 2012-07-16 09:27:16.000000000 +0200
+@@ -618,7 +618,7 @@ ngx_feature_test="void *p; p = memalign(
+
+ ngx_feature="mmap(MAP_ANON|MAP_SHARED)"
+ ngx_feature_name="NGX_HAVE_MAP_ANON"
+-ngx_feature_run=yes
++ngx_feature_run=no
+ ngx_feature_incs="#include <sys/mman.h>"
+ ngx_feature_path=
+ ngx_feature_libs=
+@@ -631,7 +631,7 @@ ngx_feature_test="void *p;
+
+ ngx_feature='mmap("/dev/zero", MAP_SHARED)'
+ ngx_feature_name="NGX_HAVE_MAP_DEVZERO"
+-ngx_feature_run=yes
++ngx_feature_run=no
+ ngx_feature_incs="#include <sys/mman.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>"
+@@ -646,7 +646,7 @@ ngx_feature_test='void *p; int fd;
+
+ ngx_feature="System V shared memory"
+ ngx_feature_name="NGX_HAVE_SYSVSHM"
+-ngx_feature_run=yes
++ngx_feature_run=no
+ ngx_feature_incs="#include <sys/ipc.h>
+ #include <sys/shm.h>"
+ ngx_feature_path=
+@@ -660,7 +660,7 @@ ngx_feature_test="int id;
+
+ ngx_feature="POSIX semaphores"
+ ngx_feature_name="NGX_HAVE_POSIX_SEM"
+-ngx_feature_run=yes
++ngx_feature_run=no
+ ngx_feature_incs="#include <semaphore.h>"
+ ngx_feature_path=
+ ngx_feature_libs=