conserver: Fix compilation without deprecated OpenSSL 1.0.2 APIs 7844/head
authorRosen Penev <rosenp@gmail.com>
Wed, 2 Jan 2019 07:42:22 +0000 (23:42 -0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 2 Jan 2019 07:42:22 +0000 (23:42 -0800)
Two headers were missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/conserver/Makefile
net/conserver/patches/010-openssl-deprecated.patch [new file with mode: 0644]

index e2b730a696bc35bf9b329f5de98a82af1ecda6ec..7243f8818077187ed37b8c56a44a41cbe83cc29a 100644 (file)
@@ -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 (file)
index 0000000..8e34d3f
--- /dev/null
@@ -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