summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2020-07-19 07:03:11 +0000
committerRosen Penev2020-07-19 21:55:29 +0000
commit73ed049c1ae6227fba4ce611b02b80f6651f73f0 (patch)
tree0c770b61586540bacaa5a3fa1f981227ef888651
parent70b11b01921d00979bdfcad4ea95a9bd57b411e3 (diff)
downloadtelephony-73ed049c1ae6227fba4ce611b02b80f6651f73f0.tar.gz
sixproxd: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--net/siproxd/Makefile2
-rw-r--r--net/siproxd/patches/020-gcc10.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile
index 68a4b7e..b7a603a 100644
--- a/net/siproxd/Makefile
+++ b/net/siproxd/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=siproxd
PKG_VERSION:=0.8.2
-PKG_RELEASE:=5
+PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/siproxd
diff --git a/net/siproxd/patches/020-gcc10.patch b/net/siproxd/patches/020-gcc10.patch
new file mode 100644
index 0000000..f8be5cd
--- /dev/null
+++ b/net/siproxd/patches/020-gcc10.patch
@@ -0,0 +1,11 @@
+--- a/src/accessctl.c
++++ b/src/accessctl.c
+@@ -34,7 +34,7 @@
+ static char const ident[]="$Id: accessctl.c 521 2015-09-13 08:43:04Z hb9xar $";
+
+ /* configuration storage */
+-struct siproxd_config configuration;
++extern struct siproxd_config configuration;
+
+
+ /*