This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
shadowsocks-libev: fix compilation with GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev
4 years ago
committed by
Yousong Zhou
parent
371d7b3892
commit
3d9618c61b
2 changed files
with
21 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
net/shadowsocks-libev/Makefile
+20
-0
net/shadowsocks-libev/patches/010-gcc10.patch
+ 1
- 1
net/shadowsocks-libev/Makefile
View File
@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
#
PKG_NAME
:=
shadowsocks-libev
PKG_VERSION
:=
3.3.4
PKG_RELEASE
:=
3
PKG_RELEASE
:=
4
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.gz
PKG_SOURCE_URL
:=
https://github.com/shadowsocks/shadowsocks-libev/releases/download/v
$(
PKG_VERSION
)
+ 20
- 0
net/shadowsocks-libev/patches/010-gcc10.patch
View File
@ -0,0 +1,20 @@
--- a/src/http.h
+++ b/src/http.h
@@ -29,6 +29,6 @@
#include <stdio.h>
#include "protocol.h"
-const protocol_t *const http_protocol;
+extern const protocol_t *const http_protocol;
#endif
--- a/src/tls.h
+++ b/src/tls.h
@@ -28,6 +28,6 @@
#include "protocol.h"
-const protocol_t *const tls_protocol;
+extern const protocol_t *const tls_protocol;
#endif
Write
Preview
Loading…
Cancel
Save