From f2a745c472c71500836a19c4db51960a0d3412b7 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sat, 25 Dec 2021 20:48:49 +0100 Subject: [PATCH] coturn: add patch for not linking libintl If there is enabled CONFIG_BUILD_NLS, coturn can not be compiled. It fails with the following error: Package coturn is missing dependencies for the following libraries: libintl.so.8 But thanks to @micmac1, it was realized that libintl is not used anywhere in coturn, that's why there was sent PR to upstream. Signed-off-by: Josef Schlehofer --- net/coturn/Makefile | 2 +- .../100-configure-dont-link-libintl.patch | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 net/coturn/patches/100-configure-dont-link-libintl.patch diff --git a/net/coturn/Makefile b/net/coturn/Makefile index 2736381..9ecf4dd 100644 --- a/net/coturn/Makefile +++ b/net/coturn/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=coturn PKG_VERSION:=4.5.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/coturn/coturn/tar.gz/$(PKG_VERSION)? diff --git a/net/coturn/patches/100-configure-dont-link-libintl.patch b/net/coturn/patches/100-configure-dont-link-libintl.patch new file mode 100644 index 0000000..65262b3 --- /dev/null +++ b/net/coturn/patches/100-configure-dont-link-libintl.patch @@ -0,0 +1,22 @@ +From 2132a1a8eecb3460b8c2e4a7201e3254dc420179 Mon Sep 17 00:00:00 2001 +From: Sebastian Kemper +Date: Sun, 26 Dec 2021 15:47:41 +0100 +Subject: [PATCH] configure: don't link in libintl + +libintl isn't used, so there is no need to link coturn to it. + +Signed-off-by: Sebastian Kemper +--- + configure | 1 - + 1 file changed, 1 deletion(-) + +--- a/configure ++++ b/configure +@@ -699,7 +699,6 @@ if ! [ ${ER} -eq 0 ] ; then + echo "CYGWIN ?" + fi + testlib wldap64 +-testlib intl + testlib nsl + testlib resolv + -- 2.30.2