baresip: fix compilation without deprecated OpenSSL APIs 557/head
authorRosen Penev <rosenp@gmail.com>
Wed, 5 Aug 2020 21:24:33 +0000 (14:24 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 5 Aug 2020 21:32:25 +0000 (14:32 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/baresip/Makefile
net/baresip/patches/010-openssl-deprecated.patch [new file with mode: 0644]

index 468d0ac821c6552bf84a9e0602ccc98aff4d6864..453423ce6b8df690091d430c84399b44170bb9a4 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=baresip
 PKG_VERSION:=0.6.4
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.creytiv.com/pub
diff --git a/net/baresip/patches/010-openssl-deprecated.patch b/net/baresip/patches/010-openssl-deprecated.patch
new file mode 100644 (file)
index 0000000..4e691bc
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/modules/debug_cmd/debug_cmd.c
++++ b/modules/debug_cmd/debug_cmd.c
+@@ -56,7 +56,7 @@ static int print_system_info(struct re_printf *pf, void *arg)
+ #ifdef USE_OPENSSL
+       err |= re_hprintf(pf, " OpenSSL:  %s\n",
+-                        SSLeay_version(SSLEAY_VERSION));
++                        OpenSSL_version(OPENSSL_VERSION));
+ #endif
+       return err;