summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2025-08-09 22:51:04 -0300
committerGitHub <noreply@github.com>2025-08-09 22:51:04 -0300
commit3dea531e87a63dff5df636091c9de26fc6d9d4d2 (patch)
tree9b1e6f9604e793da10469d50570736d173732a93
parent0dfb65fb2f785f916cb60f0b96f297f02ef22630 (diff)
parent031433402f060fdc473735827b385ccb6cb7ecdf (diff)
downloadmeta-freescale-3dea531e87a63dff5df636091c9de26fc6d9d4d2.tar.gz
Merge pull request #2330 from MaxKrummenacher/master
imx-gst1.0-plugin: fix build against glibc 2.42
-rw-r--r--recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch35
-rw-r--r--recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb5
2 files changed, 39 insertions, 1 deletions
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch
new file mode 100644
index 000000000..cb314b38d
--- /dev/null
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch
@@ -0,0 +1,35 @@
1From b88aec4d7a8c8993c8c75f002a1f2af1635337d1 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Sat, 9 Aug 2025 08:20:50 +0000
4Subject: [PATCH] gplay2: fix termio.h no longer existing
5
6glibc 2.42 removed the long deprecated termio.h header which
7in 2.41 only included termios.h and sys/ioctl.h. [1]
8
9Replacing it with sys/ioctl.h seems to provide all the needed
10declaration for successfully compiling.
11
12[1] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS#l91
13
14Upstream-Status: Pending
15Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
16---
17 tools/gplay2/gplay2.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/tools/gplay2/gplay2.c b/tools/gplay2/gplay2.c
21index 9e406b9ea8c7..98b3ee5cf666 100755
22--- a/tools/gplay2/gplay2.c
23+++ b/tools/gplay2/gplay2.c
24@@ -26,7 +26,7 @@
25 */
26
27
28-#include <termio.h>
29+#include <sys/ioctl.h>
30 #include <unistd.h>
31 #include <pthread.h>
32 #include <stdio.h>
33--
342.42.0
35
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
index d7ac9b474..d7ac1e34d 100644
--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
@@ -38,7 +38,10 @@ RCONFLICTS:${PN} = "gst1.0-fsl-plugin"
38 38
39PV = "4.9.3+git${SRCPV}" 39PV = "4.9.3+git${SRCPV}"
40 40
41SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH}" 41SRC_URI = " \
42 git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \
43 file://0001-gplay2-fix-termio.h-no-longer-existing.patch \
44"
42SRCBRANCH = "MM_04.09.03_2412_L6.12.y" 45SRCBRANCH = "MM_04.09.03_2412_L6.12.y"
43SRCREV = "370510ef8137874339df18a2a35ec1d04d98fa0b" 46SRCREV = "370510ef8137874339df18a2a35ec1d04d98fa0b"
44 47