aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2011-11-21 21:50:43 +0800
committerosa <osa@FreeBSD.org>2011-11-21 21:50:43 +0800
commitec94a3ecd02a2d5ea7494a149f9db8a86e9fb66a (patch)
tree2656d951c128a2ad14ad1633a270cbe5cd5f6369 /www/nginx
parente3e144ae40d70953b14500bfb165913fc5921fc5 (diff)
downloadfreebsd-ports-gnome-ec94a3ecd02a2d5ea7494a149f9db8a86e9fb66a.tar.gz
freebsd-ports-gnome-ec94a3ecd02a2d5ea7494a149f9db8a86e9fb66a.tar.zst
freebsd-ports-gnome-ec94a3ecd02a2d5ea7494a149f9db8a86e9fb66a.zip
Fix build on fresh -CURRENT.
Do not bump PORTREVISIONs. Feature safe: yes Patch from: Igor Sysoev (author) PR: 162446
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/files/patch-src::os::unix::ngx_files.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/nginx/files/patch-src::os::unix::ngx_files.c b/www/nginx/files/patch-src::os::unix::ngx_files.c
new file mode 100644
index 000000000000..018706c60f84
--- /dev/null
+++ b/www/nginx/files/patch-src::os::unix::ngx_files.c
@@ -0,0 +1,11 @@
+--- src/os/unix/ngx_files.c.orig 2011-11-21 17:32:42.000000000 +0400
++++ src/os/unix/ngx_files.c 2011-11-21 17:33:28.000000000 +0400
+@@ -454,7 +454,7 @@
+ }
+
+
+-#if (NGX_HAVE_POSIX_FADVISE)
++#if (NGX_HAVE_POSIX_FADVISE) && !(NGX_HAVE_F_READAHEAD)
+
+ ngx_int_t
+ ngx_read_ahead(ngx_fd_t fd, size_t n)