From b80b614f8f659e352723a49cc4459521049198ab Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 11 Aug 2019 16:21:51 -0700 Subject: [PATCH] softethervpn: Add missing OpenSSL header Fixes compilation without OpenSSL deprecated APIs as well as -Werror=implicit-function-declaration. Signed-off-by: Rosen Penev --- net/softethervpn/Makefile | 2 +- net/softethervpn/patches/140-openssl-header.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/softethervpn/patches/140-openssl-header.patch diff --git a/net/softethervpn/Makefile b/net/softethervpn/Makefile index a7a4df39d..b5f9c4378 100644 --- a/net/softethervpn/Makefile +++ b/net/softethervpn/Makefile @@ -12,7 +12,7 @@ PKG_NAME:=softethervpn PKG_VERSION:=4.29-9680 PKG_VERREL:=rtm PKG_VERDATE:=2019.02.28 -PKG_RELEASE:=1 +PKG_RELEASE:=2 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/ diff --git a/net/softethervpn/patches/140-openssl-header.patch b/net/softethervpn/patches/140-openssl-header.patch new file mode 100644 index 000000000..b9b98e5de --- /dev/null +++ b/net/softethervpn/patches/140-openssl-header.patch @@ -0,0 +1,10 @@ +--- a/src/Mayaqua/Secure.c ++++ b/src/Mayaqua/Secure.c +@@ -127,6 +127,7 @@ + #include + #include + #include ++#include + #include + #include + #include