ports/www/nginx-devel/files/patch-src-core-ngx_module.h
Sergey A. Osokin 55dbfdb682 Add vendor's patch.
<ChangeLog>

Changes to NGX_MODULE_V1 and ngx_module_t in 85dea406e18f (1.9.11)
broke all modules written in C++, because ISO C++11 does not allow
conversion from string literal to char *.

</ChangeLog>
2016-02-12 12:48:56 +00:00

11 lines
369 B
C

--- src/core/ngx_module.h.orig 2016-02-10 19:26:57.903123000 -0500
+++ src/core/ngx_module.h 2016-02-10 19:27:40.978113000 -0500
@@ -253,7 +253,7 @@
ngx_uint_t spare1;
ngx_uint_t version;
- char *signature;
+ const char *signature;
void *ctx;
ngx_command_t *commands;