summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2020-09-30 13:11:26 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2020-09-30 13:11:26 +0000
commite28bc67fc0a5ad8235a1e17cec996e865a8ae256 (patch)
tree659281e37e41fa417db2352b1a54603db461fe70 /www/nginx-devel/files
parentUpdate to 4.8.0 (diff)
Merge r549093 to fix build with -fno-common.
Bump PORTREVISION. Spotted by: vanilla
Notes
Notes: svn path=/head/; revision=550699
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/extra-patch-nchan-store-private.h10
1 files changed, 10 insertions, 0 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
new file mode 100644
index 000000000000..72d3f5e75afd
--- /dev/null
+++ b/www/nginx-devel/files/extra-patch-nchan-store-private.h
@@ -0,0 +1,10 @@
+--- ../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*/