diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-01-01 23:42:22 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2019-01-01 23:42:22 -0800 |
commit | 8c73cc5b0e7b50fffe3553ce5378ffa391b17300 (patch) | |
tree | bc55e757874265cb8e069ce5e350eb920bafabe4 /net/conserver | |
parent | 5bae7c73a767ac67428142066d74b3e056a1ff16 (diff) |
conserver: Fix compilation without deprecated OpenSSL 1.0.2 APIs
Two headers were missing.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/conserver')
-rw-r--r-- | net/conserver/Makefile | 2 | ||||
-rw-r--r-- | net/conserver/patches/010-openssl-deprecated.patch | 11 |
2 files changed, 12 insertions, 1 deletions
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 <bjorn@mork.no> 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 <stdarg.h> + #if HAVE_OPENSSL + # include <openssl/ssl.h> ++# include <openssl/bn.h> ++# include <openssl/dh.h> + # include <openssl/err.h> + # if OPENSSL_VERSION_NUMBER < 0x10100000L + # define TLS_method SSLv23_method |