From 1cdf2c2e251184ab8357ea7ced536b7b7b6c4559 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Fri, 15 Feb 2019 21:48:07 +0100 Subject: [PATCH 1/2] freeswitch-stable: fix implicit declaration error Since the update to openssl-1.1.1a the compile fails like this: CC src/libfreeswitch_la-switch_rtp.lo src/switch_rtp.c: In function 'switch_rtp_get_random': src/switch_rtp.c:2419:2: error: implicit declaration of function 'RAND_bytes'; did you mean 'RSA_bits'? [-Werror=implicit-function-declaration] RAND_bytes(buf, len); ^~~~~~~~~~ RSA_bits cc1: all warnings being treated as errors make[4]: *** [Makefile:2377: src/libfreeswitch_la-switch_rtp.lo] Error 1 This patch adds the missing include. Signed-off-by: Sebastian Kemper --- ...x-implicit-declaration-of-function-RAND_bytes.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 net/freeswitch-stable/patches/390-switch-rtp_c-fix-implicit-declaration-of-function-RAND_bytes.patch diff --git a/net/freeswitch-stable/patches/390-switch-rtp_c-fix-implicit-declaration-of-function-RAND_bytes.patch b/net/freeswitch-stable/patches/390-switch-rtp_c-fix-implicit-declaration-of-function-RAND_bytes.patch new file mode 100644 index 0000000..8102392 --- /dev/null +++ b/net/freeswitch-stable/patches/390-switch-rtp_c-fix-implicit-declaration-of-function-RAND_bytes.patch @@ -0,0 +1,10 @@ +--- a/src/include/switch_ssl.h ++++ b/src/include/switch_ssl.h +@@ -38,6 +38,7 @@ + #endif + #include + #include ++#include + #include + #include + #ifndef OPENSSL_NO_ENGINE From abbbdaa59625ed7395e4d52818312fda23cf9619 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Fri, 15 Feb 2019 21:51:20 +0100 Subject: [PATCH 2/2] freeswitch-stable: bump to 1.8.5 Signed-off-by: Sebastian Kemper --- net/freeswitch-stable/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/freeswitch-stable/Makefile b/net/freeswitch-stable/Makefile index 9710156..e4626d7 100644 --- a/net/freeswitch-stable/Makefile +++ b/net/freeswitch-stable/Makefile @@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk PRG_NAME:=freeswitch PKG_NAME:=$(PRG_NAME)-stable -PKG_VERSION:=1.8.4 +PKG_VERSION:=1.8.5 PKG_RELEASE:=1 PKG_MAINTAINER:=Sebastian Kemper PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://files.$(PRG_NAME).org/releases/$(PRG_NAME) -PKG_HASH:=768f4a7f2d02e79f522cd4b7a26f6cef9e5663b5ac6478b9fe4725a7276ae3d3 +PKG_HASH:=503a551be5d6df06162ea9d98a952b6fb524852ce2352fe3ca3a36a76995b046 PKG_CPE_ID:=cpe:/a:freeswitch:freeswitch