aboutsummaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-ngx_http_mogilefs_module.c
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2015-04-21 23:26:56 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2015-04-21 23:26:56 +0000
commite958fc0c440ea55af541a2a046aed485ccbab8b8 (patch)
treeae135e8cf6696c64aa6ee287c1b1fe2a6b9ce5c0 /www/nginx-devel/files/extra-patch-ngx_http_mogilefs_module.c
parent24e47f5a44ba3ff1d3d1298e75156438a52a72c5 (diff)
downloadports-e958fc0c440ea55af541a2a046aed485ccbab8b8.tar.gz
ports-e958fc0c440ea55af541a2a046aed485ccbab8b8.zip
Upgrade to latest stable version 1.8.0.
According to vendor's recommendations safely remove NGX_THREADS macro with some long unused code from some third-party modules. Merge changes from www/nginx-devel to www/nginx. Merge third-pary upstream_sticky module from www/nginx to www/nginx-devel. Remove outdated syslog support.
Notes
Notes: svn path=/head/; revision=384469
Diffstat (limited to 'www/nginx-devel/files/extra-patch-ngx_http_mogilefs_module.c')
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_http_mogilefs_module.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/nginx-devel/files/extra-patch-ngx_http_mogilefs_module.c b/www/nginx-devel/files/extra-patch-ngx_http_mogilefs_module.c
new file mode 100644
index 000000000000..423483869d57
--- /dev/null
+++ b/www/nginx-devel/files/extra-patch-ngx_http_mogilefs_module.c
@@ -0,0 +1,12 @@
+--- ../nginx_mogilefs_module-1.0.4/ngx_http_mogilefs_module.c.orig 2015-04-21 21:16:22.251692000 +0300
++++ ../nginx_mogilefs_module-1.0.4/ngx_http_mogilefs_module.c 2015-04-21 21:16:39.460724000 +0300
+@@ -316,9 +316,6 @@
+
+ u->peer.log = r->connection->log;
+ u->peer.log_error = NGX_ERROR_ERR;
+-#if (NGX_THREADS)
+- u->peer.lock = &r->connection->lock;
+-#endif
+
+ u->output.tag = (ngx_buf_tag_t) &ngx_http_mogilefs_module;
+