Permalink
Browse files

ngx-build: no need to apply the resolver_wev_handler_segfault_with_po…

…ll patch to nginx 1.2.7+.
  • Loading branch information...
1 parent 9d73509 commit d78c4491f4cfcd667013510b1ac179806a017a0f @agentzh agentzh committed Feb 18, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 ngx-build
View
@@ -280,7 +280,9 @@ sub apply_patches {
chdir ".." or die "cannot switch to ..\n";
}
- shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-resolver_wev_handler_segfault_with_poll.patch");
+ unless ($ver ge '001002007') {
+ shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-resolver_wev_handler_segfault_with_poll.patch");
+ }
}
sub usage {

0 comments on commit d78c449

Please sign in to comment.