mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-servers/nginx: Rev bump to fix http_cache_purge module
Closes: https://bugs.gentoo.org/635330 Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
22
www-servers/nginx/files/http_cache_purge-1.11.6+.patch
Normal file
22
www-servers/nginx/files/http_cache_purge-1.11.6+.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
Fix compatibility with nginx-1.11.6+
|
||||
|
||||
https://github.com/FRiCKLE/ngx_cache_purge/pull/51
|
||||
|
||||
---
|
||||
ngx_cache_purge_module.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
--- a/ngx_cache_purge_module.c
|
||||
+++ b/ngx_cache_purge_module.c
|
||||
@@ -492,7 +492,11 @@ typedef struct {
|
||||
ngx_str_t body_source;
|
||||
# endif /* nginx_version < 1007008 */
|
||||
|
||||
+# if (nginx_version >= 1011006)
|
||||
+ ngx_http_complex_value_t *method;
|
||||
+# else
|
||||
ngx_str_t method;
|
||||
+# endif /* nginx_version >= 1011006 */
|
||||
ngx_str_t location;
|
||||
ngx_str_t url;
|
||||
|
||||
1005
www-servers/nginx/nginx-1.12.2-r1.ebuild
Normal file
1005
www-servers/nginx/nginx-1.12.2-r1.ebuild
Normal file
File diff suppressed because it is too large
Load Diff
1006
www-servers/nginx/nginx-1.13.6-r1.ebuild
Normal file
1006
www-servers/nginx/nginx-1.13.6-r1.ebuild
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user