Merge pull request #547 from neheb/six

sixproxd: fix compilation with GCC 10
This commit is contained in:
micmac1 2020-07-28 18:13:00 +02:00 committed by GitHub
commit a305a2b114
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=siproxd PKG_NAME:=siproxd
PKG_VERSION:=0.8.2 PKG_VERSION:=0.8.2
PKG_RELEASE:=5 PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/siproxd 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;
/*