summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Schlehofer2021-12-25 19:48:49 +0000
committerJosef Schlehofer2021-12-30 21:23:12 +0000
commitf2a745c472c71500836a19c4db51960a0d3412b7 (patch)
tree454b589799442d8808fbedd0592a83b1cfa92aee
parent8c563cb3d8c6dab01d9d0742a3f4661b2ef13f53 (diff)
downloadtelephony-f2a745c472c71500836a19c4db51960a0d3412b7.tar.gz
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 <pepe.schlehofer@gmail.com>
-rw-r--r--net/coturn/Makefile2
-rw-r--r--net/coturn/patches/100-configure-dont-link-libintl.patch22
2 files changed, 23 insertions, 1 deletions
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 <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
+