nginx: update patch
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 6 Feb 2012 15:01:28 +0000 (15:01 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 6 Feb 2012 15:01:28 +0000 (15:01 +0000)
SVN-Revision: 30333

net/nginx/patches/101-feature_test_fix.patch

index e5bef67e9642ca243ca99ad04ab85aed75faad9b..65470e85e8d02f93cbd9b35b11d8dc88fc7125d5 100644 (file)
  ngx_feature_libs=
 --- a/auto/unix
 +++ b/auto/unix
-@@ -555,7 +555,7 @@ ngx_feature_test="void *p; p = memalign(
+@@ -189,7 +189,7 @@ ngx_feature_incs="#include <fcntl.h>"
+ ngx_feature_path=
+ ngx_feature_libs=
+ ngx_feature_test="posix_fadvise(0, 0, 0, POSIX_FADV_SEQUENTIAL);"
+-. auto/feature
++. auto/nohave
+ ngx_feature="O_DIRECT"
+@@ -578,7 +578,7 @@ ngx_feature_test="void *p; p = memalign(
  
  ngx_feature="mmap(MAP_ANON|MAP_SHARED)"
  ngx_feature_name="NGX_HAVE_MAP_ANON"
@@ -78,7 +87,7 @@
  ngx_feature_incs="#include <sys/mman.h>"
  ngx_feature_path=
  ngx_feature_libs=
-@@ -568,7 +568,7 @@ ngx_feature_test="void *p;
+@@ -591,7 +591,7 @@ ngx_feature_test="void *p;
  
  ngx_feature='mmap("/dev/zero", MAP_SHARED)'
  ngx_feature_name="NGX_HAVE_MAP_DEVZERO"
@@ -87,7 +96,7 @@
  ngx_feature_incs="#include <sys/mman.h>
                    #include <sys/stat.h>
                    #include <fcntl.h>"
-@@ -583,7 +583,7 @@ ngx_feature_test='void *p; int  fd;
+@@ -606,7 +606,7 @@ ngx_feature_test='void *p; int  fd;
  
  ngx_feature="System V shared memory"
  ngx_feature_name="NGX_HAVE_SYSVSHM"
  ngx_feature_incs="#include <sys/ipc.h>
                    #include <sys/shm.h>"
  ngx_feature_path=
-@@ -597,7 +597,7 @@ ngx_feature_test="int  id;
+@@ -620,7 +620,7 @@ ngx_feature_test="int  id;
  
  ngx_feature="POSIX semaphores"
  ngx_feature_name="NGX_HAVE_POSIX_SEM"