From 6f252c0ba2630bd8ca8c1eceddf516145d83b78a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 5 Aug 2020 14:24:33 -0700 Subject: [PATCH] baresip: fix compilation without deprecated OpenSSL APIs Signed-off-by: Rosen Penev --- net/baresip/Makefile | 2 +- net/baresip/patches/010-openssl-deprecated.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/baresip/patches/010-openssl-deprecated.patch diff --git a/net/baresip/Makefile b/net/baresip/Makefile index 468d0ac..453423c 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -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 index 0000000..4e691bc --- /dev/null +++ b/net/baresip/patches/010-openssl-deprecated.patch @@ -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; -- 2.30.2