From 73ed049c1ae6227fba4ce611b02b80f6651f73f0 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 19 Jul 2020 00:03:11 -0700 Subject: [PATCH] sixproxd: fix compilation with GCC 10 Signed-off-by: Rosen Penev --- net/siproxd/Makefile | 2 +- net/siproxd/patches/020-gcc10.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/siproxd/patches/020-gcc10.patch 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; + + + /* -- 2.30.2