diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2025-08-09 22:51:04 -0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-09 22:51:04 -0300 | 
| commit | 3dea531e87a63dff5df636091c9de26fc6d9d4d2 (patch) | |
| tree | 9b1e6f9604e793da10469d50570736d173732a93 | |
| parent | 0dfb65fb2f785f916cb60f0b96f297f02ef22630 (diff) | |
| parent | 031433402f060fdc473735827b385ccb6cb7ecdf (diff) | |
| download | meta-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.patch | 35 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | 5 | 
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 @@ | |||
| 1 | From b88aec4d7a8c8993c8c75f002a1f2af1635337d1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Sat, 9 Aug 2025 08:20:50 +0000 | ||
| 4 | Subject: [PATCH] gplay2: fix termio.h no longer existing | ||
| 5 | |||
| 6 | glibc 2.42 removed the long deprecated termio.h header which | ||
| 7 | in 2.41 only included termios.h and sys/ioctl.h. [1] | ||
| 8 | |||
| 9 | Replacing it with sys/ioctl.h seems to provide all the needed | ||
| 10 | declaration for successfully compiling. | ||
| 11 | |||
| 12 | [1] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS#l91 | ||
| 13 | |||
| 14 | Upstream-Status: Pending | ||
| 15 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 16 | --- | ||
| 17 | tools/gplay2/gplay2.c | 2 +- | ||
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 19 | |||
| 20 | diff --git a/tools/gplay2/gplay2.c b/tools/gplay2/gplay2.c | ||
| 21 | index 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 | -- | ||
| 34 | 2.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 | ||
| 39 | PV = "4.9.3+git${SRCPV}" | 39 | PV = "4.9.3+git${SRCPV}" | 
| 40 | 40 | ||
| 41 | SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH}" | 41 | SRC_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 | " | ||
| 42 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 45 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 
| 43 | SRCREV = "370510ef8137874339df18a2a35ec1d04d98fa0b" | 46 | SRCREV = "370510ef8137874339df18a2a35ec1d04d98fa0b" | 
| 44 | 47 | ||
