sixproxd: fix compilation with GCC 10

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-07-19 00:03:11 -07:00
parent 70b11b0192
commit 73ed049c1a
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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;
/*