diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2020-09-30 16:12:16 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2020-09-30 16:12:16 +0000 |
commit | 0cfd7ac66a26a0d56e0b3fffc669a69545f07cd7 (patch) | |
tree | f29d8d9a709ddf598d764554b7151c31b851002c /www/nginx-devel/files | |
parent | da83ad980bae5c3463174a0af774669c6572b4ba (diff) | |
download | ports-0cfd7ac66a26a0d56e0b3fffc669a69545f07cd7.tar.gz ports-0cfd7ac66a26a0d56e0b3fffc669a69545f07cd7.zip |
Notes
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r-- | www/nginx-devel/files/extra-patch-nchan-store-private.h | 10 | ||||
-rw-r--r-- | www/nginx-devel/files/extra-patch-nchan-store-redis-redis_lua_commands.h | 12 |
2 files changed, 12 insertions, 10 deletions
diff --git a/www/nginx-devel/files/extra-patch-nchan-store-private.h b/www/nginx-devel/files/extra-patch-nchan-store-private.h deleted file mode 100644 index 72d3f5e75afd..000000000000 --- a/www/nginx-devel/files/extra-patch-nchan-store-private.h +++ /dev/null @@ -1,10 +0,0 @@ ---- ../nchan-1.2.7/src/store/memory/store-private.h.orig 2020-09-20 13:11:33.781569000 +0200 -+++ ../nchan-1.2.7/src/store/memory/store-private.h 2020-09-20 13:11:48.679855000 +0200 -@@ -172,6 +172,6 @@ - void memstore_chanhead_release(memstore_channel_head_t *ch, char *label); - void memstore_chanhead_reserve(memstore_channel_head_t *ch, const char *label); - --uint16_t memstore_worker_generation; //times nginx has been restarted + 1 -+extern uint16_t memstore_worker_generation; //times nginx has been restarted + 1 - - #endif /*MEMSTORE_PRIVATE_HEADER*/ diff --git a/www/nginx-devel/files/extra-patch-nchan-store-redis-redis_lua_commands.h b/www/nginx-devel/files/extra-patch-nchan-store-redis-redis_lua_commands.h new file mode 100644 index 000000000000..9923e5984822 --- /dev/null +++ b/www/nginx-devel/files/extra-patch-nchan-store-redis-redis_lua_commands.h @@ -0,0 +1,12 @@ +--- ../nchan-1.2.7/src/store/redis/redis_lua_commands.h.orig 2020-09-30 23:51:52.116513000 +0800 ++++ ../nchan-1.2.7/src/store/redis/redis_lua_commands.h 2020-09-30 23:52:11.164617000 +0800 +@@ -63,7 +63,7 @@ typedef struct { + redis_lua_script_t subscriber_unregister; + + } redis_lua_scripts_t; +-redis_lua_scripts_t redis_lua_scripts; +-const int redis_lua_scripts_count; ++extern redis_lua_scripts_t redis_lua_scripts; ++extern const int redis_lua_scripts_count; + #define REDIS_LUA_SCRIPTS_EACH(script) \ + for((script)=(redis_lua_script_t *)&redis_lua_scripts; (script) < (redis_lua_script_t *)(&redis_lua_scripts + 1); (script)++) |