ssocks: fix gcc10 compilation
Co-authored-by: Lienol <lawlienol@gmail.com>
This commit is contained in:
parent
c2c1018972
commit
bf817b6f2b
@ -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
|
||||
11
package/ctcgfw/ssocks/patches/002-gcc10.patch
Normal file
11
package/ctcgfw/ssocks/patches/002-gcc10.patch
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user