From 8c73cc5b0e7b50fffe3553ce5378ffa391b17300 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 1 Jan 2019 23:42:22 -0800 Subject: [PATCH] conserver: Fix compilation without deprecated OpenSSL 1.0.2 APIs Two headers were missing. Signed-off-by: Rosen Penev --- net/conserver/Makefile | 2 +- net/conserver/patches/010-openssl-deprecated.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/conserver/patches/010-openssl-deprecated.patch diff --git a/net/conserver/Makefile b/net/conserver/Makefile index e2b730a69..7243f8818 100644 --- a/net/conserver/Makefile +++ b/net/conserver/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=conserver PKG_VERSION:=8.2.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Bjørn Mork PKG_SOURCE_PROTO:=git diff --git a/net/conserver/patches/010-openssl-deprecated.patch b/net/conserver/patches/010-openssl-deprecated.patch new file mode 100644 index 000000000..8e34d3f4e --- /dev/null +++ b/net/conserver/patches/010-openssl-deprecated.patch @@ -0,0 +1,11 @@ +--- a/conserver/cutil.h ++++ b/conserver/cutil.h +@@ -7,6 +7,8 @@ + #include + #if HAVE_OPENSSL + # include ++# include ++# include + # include + # if OPENSSL_VERSION_NUMBER < 0x10100000L + # define TLS_method SSLv23_method