mirror of
https://git.freebsd.org/ports.git
synced 2025-07-03 18:39:16 -04:00
<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>
11 lines
369 B
C
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;
|