coturn: add patch for not linking libintl 725/head
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Sat, 25 Dec 2021 19:48:49 +0000 (20:48 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 30 Dec 2021 21:23:12 +0000 (22:23 +0100)
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 <pepe.schlehofer@gmail.com>
net/coturn/Makefile
net/coturn/patches/100-configure-dont-link-libintl.patch [new file with mode: 0644]

index 2736381df2e781d157ded4917eaafbe63c50267a..9ecf4ddd3bdd293c6a6556e48580a5c49eaf0190 100644 (file)
@@ -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 (file)
index 0000000..65262b3
--- /dev/null
@@ -0,0 +1,22 @@
+From 2132a1a8eecb3460b8c2e4a7201e3254dc420179 Mon Sep 17 00:00:00 2001
+From: Sebastian Kemper <sebastian_ml@gmx.net>
+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 <sebastian_ml@gmx.net>
+---
+ 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