From: Rosen Penev Date: Sun, 19 Jul 2020 07:03:11 +0000 (-0700) Subject: sixproxd: fix compilation with GCC 10 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F547%2Fhead;p=feed%2Ftelephony.git sixproxd: fix compilation with GCC 10 Signed-off-by: Rosen Penev --- 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; + + + /*