mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
sixproxd: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
11
net/siproxd/patches/020-gcc10.patch
Normal file
11
net/siproxd/patches/020-gcc10.patch
Normal 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;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
Reference in New Issue
Block a user