mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
softethervpn: Add missing OpenSSL header
Fixes compilation without OpenSSL deprecated APIs as well as -Werror=implicit-function-declaration. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ PKG_NAME:=softethervpn
|
|||||||
PKG_VERSION:=4.29-9680
|
PKG_VERSION:=4.29-9680
|
||||||
PKG_VERREL:=rtm
|
PKG_VERREL:=rtm
|
||||||
PKG_VERDATE:=2019.02.28
|
PKG_VERDATE:=2019.02.28
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=softether-src-v$(PKG_VERSION)-$(PKG_VERREL).tar.gz
|
PKG_SOURCE:=softether-src-v$(PKG_VERSION)-$(PKG_VERREL).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.softether-download.com/files/softether/v$(PKG_VERSION)-$(PKG_VERREL)-$(PKG_VERDATE)-tree/Source_Code/
|
PKG_SOURCE_URL:=http://www.softether-download.com/files/softether/v$(PKG_VERSION)-$(PKG_VERREL)-$(PKG_VERDATE)-tree/Source_Code/
|
||||||
|
|||||||
10
net/softethervpn/patches/140-openssl-header.patch
Normal file
10
net/softethervpn/patches/140-openssl-header.patch
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
--- a/src/Mayaqua/Secure.c
|
||||||
|
+++ b/src/Mayaqua/Secure.c
|
||||||
|
@@ -127,6 +127,7 @@
|
||||||
|
#include <openssl/pkcs7.h>
|
||||||
|
#include <openssl/pkcs12.h>
|
||||||
|
#include <openssl/rc4.h>
|
||||||
|
+#include <openssl/rsa.h>
|
||||||
|
#include <openssl/md5.h>
|
||||||
|
#include <openssl/sha.h>
|
||||||
|
#include <Mayaqua/Mayaqua.h>
|
||||||
Reference in New Issue
Block a user