summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
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)