From adc6a81a0f2ab96f59519f88aa986e360792e077 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 15 Aug 2020 12:29:40 +0200 Subject: [PATCH 1/2] freeswitch: fix shadow dep Signed-off-by: Sebastian Kemper --- net/freeswitch/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 1ce0437..7960eb4 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -360,6 +360,9 @@ define Package/freeswitch/Default URL:=https://www.freeswitch.org endef +# Note: shadow deps are a bit strange; you need to select shadow-utils +# package first for shadow-su to be selected, even though the +# shadow-utils package later becomes a no-op. define Package/freeswitch $(call Package/freeswitch/Default) TITLE:=Open source telephony platform, v$(PKG_VERSION) @@ -368,6 +371,7 @@ $(call Package/freeswitch/Default) DEPENDS:= \ $(CXX_DEPENDS) \ $(ICONV_DEPENDS) \ + +!BUSYBOX_DEFAULT_SU:shadow-utils \ +!BUSYBOX_DEFAULT_SU:shadow-su \ +@OPENSSL_WITH_DEPRECATED \ +FS_WITH_FREETYPE:libfreetype \ From 5b9b5db1b73227d970d96cf7e3afbb47c34518d6 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 15 Aug 2020 12:30:27 +0200 Subject: [PATCH 2/2] freeswitch: make pkg-config file usable Signed-off-by: Sebastian Kemper --- net/freeswitch/patches/400-fix-pc-file.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/freeswitch/patches/400-fix-pc-file.patch diff --git a/net/freeswitch/patches/400-fix-pc-file.patch b/net/freeswitch/patches/400-fix-pc-file.patch new file mode 100644 index 0000000..d0ba2e2 --- /dev/null +++ b/net/freeswitch/patches/400-fix-pc-file.patch @@ -0,0 +1,13 @@ +--- a/build/freeswitch.pc.in ++++ b/build/freeswitch.pc.in +@@ -1,8 +1,8 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ ++libdir=${exec_prefix}/lib + libexecdir=@libexecdir@ +-includedir=@includedir@ ++includedir=${prefix}/include/freeswitch + modulesdir=@modulesdir@ + runtimedir=@runtimedir@ + logfiledir=@logfiledir@