summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2011-11-21 13:50:43 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2011-11-21 13:50:43 +0000
commit2352246883d44ec9022f2c7897307f0d3a0f7d5a (patch)
tree9bb78aabea45da628f9acfaa602460aa8056596c /www
parent062255ee179d9d1ca28abdf757fa4dc79577c74c (diff)
downloadfreebsd-ports-2352246883d44ec9022f2c7897307f0d3a0f7d5a.zip
Fix build on fresh -CURRENT.
Do not bump PORTREVISIONs. Feature safe: yes Patch from: Igor Sysoev (author) PR: 162446
Diffstat (limited to 'www')
-rw-r--r--www/nginx-devel/files/patch-src::os::unix::ngx_files.c11
-rw-r--r--www/nginx/files/patch-src::os::unix::ngx_files.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/www/nginx-devel/files/patch-src::os::unix::ngx_files.c b/www/nginx-devel/files/patch-src::os::unix::ngx_files.c
new file mode 100644
index 000000000000..cd90393b5253
--- /dev/null
+++ b/www/nginx-devel/files/patch-src::os::unix::ngx_files.c
@@ -0,0 +1,11 @@
+--- src/os/unix/ngx_files.c.orig 2011-10-21 15:04:46.000000000 +0400
++++ src/os/unix/ngx_files.c 2011-11-21 17:43:45.000000000 +0400
+@@ -464,7 +464,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)
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)