Browse files

skipped applying the upstream_test_connect_kqueue patch for nginx 1.2…

….6+ because it already includes it.
  • Loading branch information...
1 parent 0808bba commit 70ab26378995be50fefb9420375b12afc0506e38 @agentzh agentzh committed Dec 23, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 ngx-build
View
4 ngx-build
@@ -257,7 +257,9 @@ sub apply_patches {
shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-channel-uninit-params.patch");
- shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-upstream_test_connect_kqueue.patch");
+ unless ($ver ge '001002006') {
+ shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-upstream_test_connect_kqueue.patch");
+ }
shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-slab_alloc_no_memory_as_info.patch");

0 comments on commit 70ab263

Please sign in to comment.