From 09ad78b6cce247f4e610be006d89dfe70003aa58 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Thu, 9 Feb 2023 15:32:06 -0300 Subject: [PATCH] freeswitch: allow building with OpenSSL 3.0 Add -Wno-error=deprecated-declarations to CFLAGS to allow usage of deprecated API. Signed-off-by: Eneas U de Queiroz --- net/freeswitch/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 7cc63c9..ceb048f 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -238,6 +238,9 @@ include $(FS_PERL_FEED)/perlver.mk # https://github.com/signalwire/freeswitch/issues/1670 TARGET_CFLAGS+=-Wno-error=address +# Allow compiling with OpenSSL 3.0 +TARGET_CFLAGS+=-Wno-error=deprecated-declarations + PERL_SITELIB:=/usr/lib/perl$(PERL_MAJOR)/$(PERL_VERSION2) FS_PERL_LIBS:=$(shell grep "^libs=" \ -- 2.30.2