diff options
| -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 | ||
