]> git.pld-linux.org Git - packages/kannel.git/blame - gcc10.patch
- fix linking with gcc 10+, rebuild with openssl 3.0.0, rel 4
[packages/kannel.git] / gcc10.patch
CommitLineData
164e823c
JR
1diff -ur gateway-1.4.5/gw/wap_push_ota.c gateway-1.4.5-gcc10/gw/wap_push_ota.c
2--- gateway-1.4.5/gw/wap_push_ota.c 2018-01-17 10:24:38.000000000 +0100
3+++ gateway-1.4.5-gcc10/gw/wap_push_ota.c 2021-10-17 22:08:54.582360839 +0200
4@@ -113,7 +113,7 @@
5
6 static List *ota_queue = NULL;
7
8-wap_dispatch_func_t *dispatch_to_wsp;
9+extern wap_dispatch_func_t *dispatch_to_wsp;
10 wap_dispatch_func_t *dispatch_to_wsp_unit;
11
12 /**************************************************************************
13diff -ur gateway-1.4.5/wap/wtp_init.c gateway-1.4.5-gcc10/wap/wtp_init.c
14--- gateway-1.4.5/wap/wtp_init.c 2018-01-17 10:24:38.000000000 +0100
15+++ gateway-1.4.5-gcc10/wap/wtp_init.c 2021-10-17 22:08:13.404881915 +0200
16@@ -100,8 +100,8 @@
17 */
18 static enum { limbo, running, terminating } initiator_run_status = limbo;
19
20-static wap_dispatch_func_t *dispatch_to_wdp;
21-static wap_dispatch_func_t *dispatch_to_wsp;
22+extern wap_dispatch_func_t *dispatch_to_wdp;
23+extern wap_dispatch_func_t *dispatch_to_wsp;
24
25 /*
26 * This is a timer 'tick'. All timer values multiplies of this value.
This page took 0.080223 seconds and 4 git commands to generate.