summaryrefslogtreecommitdiff
path: root/contrib/depends/patches/zeromq/fix_declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/depends/patches/zeromq/fix_declaration.patch')
-rw-r--r--contrib/depends/patches/zeromq/fix_declaration.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/depends/patches/zeromq/fix_declaration.patch b/contrib/depends/patches/zeromq/fix_declaration.patch
new file mode 100644
index 0000000..23fa0a2
--- /dev/null
+++ b/contrib/depends/patches/zeromq/fix_declaration.patch
@@ -0,0 +1,11 @@
+--- a/src/proxy.cpp 2024-11-19 19:46:31
++++ b/src/proxy.cpp 2024-11-19 19:47:37
+@@ -499,7 +499,7 @@
+ zmq_pollitem_t itemsout[] = {{frontend_, 0, ZMQ_POLLOUT, 0},
+ {backend_, 0, ZMQ_POLLOUT, 0}};
+
+- stats_proxy stats = {0};
++ stats_proxy stats = {{{0, 0}, {0, 0}}, {{0, 0}, {0, 0}}};
+
+ // Proxy can be in these three states
+ proxy_state_t state = active;