ssocks: fix gcc10 compilation

Co-authored-by: Lienol <lawlienol@gmail.com>
This commit is contained in:
CN_SZTL 2020-09-11 23:22:53 +08:00
parent c2c1018972
commit bf817b6f2b
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 13 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ssocks
PKG_VERSION:=0.0.14
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/tostercx/ssocks.git
@ -34,6 +34,7 @@ define Package/ssocks
CATEGORY:=Network
TITLE:=sSocks Relay
URL:=https://github.com/david378/ssocks
DEPENDS:=+libopenssl
endef
define Package/ssocks/description

View File

@ -0,0 +1,11 @@
--- a/src/configd-util.h 2020-07-09 05:30:54.000000000 +0800
+++ b/src/configd-util.h 2020-09-08 19:35:11.000000000 +0800
@@ -33,7 +33,7 @@
-struct globalArgsServer_t {
+static struct globalArgsServer_t {
char fileauth[255]; // -a option
char fileconfig[255]; // -f option
char filelog[255]; // -l option