sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (e1f9935cbd6f159e04bc8cef949944a82df80869)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (e1f9935cbd6f159e04bc8cef949944a82df80869)
- Date: Thu, 24 Sep 2026 01:20:07 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch | 13 +++++++++----
video/ffmpeg9/patches/0001-fix-posix-ioctl-on-musl.patch | 13 +++++++++----
2 files changed, 18 insertions(+), 8 deletions(-)
New commits:
commit e1f9935cbd6f159e04bc8cef949944a82df80869
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
ffmpeg8/9: Update posix ioctl patch
diff --git a/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
b/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
index dbb8d3a..42304c6 100644
--- a/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
+++ b/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
@@ -1,6 +1,6 @@
From 6408745f54ada32bad44227e6b4173e46641afaa Mon Sep 17 00:00:00 2001
From: q66 <q66 AT chimera-linux.org>
-Date: Tue Nov 11 18:12:01 2025 +0100
+Date: Tue, 11 Nov 2025 18:12:01 +0100
Subject: [PATCH] fix posix ioctl on musl
The libv4l2 is built with posix ioctl but to make it known to
@@ -13,22 +13,27 @@
https://github.com/FFmpeg/FFmpeg/commit/5fea5e3e11d6ff425db48f44489916399822aece
due to the macro previously being accidentally defined
+[ismael AT sourcemage.org: v4l-utils 1.32 renamed the macro the header
+ checks from HAVE_POSIX_IOCTL to LIBV4L_HAVE_POSIX_IOCTL, so define
+ both to work with old and new versions.]
+
Upstream-Status: Unknown
Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
---
- libavdevice/v4l2.c | 3 +++
- 1 file changed, 3 insertions(+)
+ libavdevice/v4l2.c | 4 ++++
+ 1 file changed, 4 insertions(+)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index c38ecbb..3457b43 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
-@@ -49,6 +49,9 @@
+@@ -49,6 +49,10 @@
#include <dirent.h>
#if CONFIG_LIBV4L2
+#if HAVE_IOCTL_POSIX
+#define HAVE_POSIX_IOCTL
++#define LIBV4L_HAVE_POSIX_IOCTL
+#endif
#include <libv4l2.h>
#endif
diff --git a/video/ffmpeg9/patches/0001-fix-posix-ioctl-on-musl.patch
b/video/ffmpeg9/patches/0001-fix-posix-ioctl-on-musl.patch
index dbb8d3a..42304c6 100644
--- a/video/ffmpeg9/patches/0001-fix-posix-ioctl-on-musl.patch
+++ b/video/ffmpeg9/patches/0001-fix-posix-ioctl-on-musl.patch
@@ -1,6 +1,6 @@
From 6408745f54ada32bad44227e6b4173e46641afaa Mon Sep 17 00:00:00 2001
From: q66 <q66 AT chimera-linux.org>
-Date: Tue Nov 11 18:12:01 2025 +0100
+Date: Tue, 11 Nov 2025 18:12:01 +0100
Subject: [PATCH] fix posix ioctl on musl
The libv4l2 is built with posix ioctl but to make it known to
@@ -13,22 +13,27 @@
https://github.com/FFmpeg/FFmpeg/commit/5fea5e3e11d6ff425db48f44489916399822aece
due to the macro previously being accidentally defined
+[ismael AT sourcemage.org: v4l-utils 1.32 renamed the macro the header
+ checks from HAVE_POSIX_IOCTL to LIBV4L_HAVE_POSIX_IOCTL, so define
+ both to work with old and new versions.]
+
Upstream-Status: Unknown
Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
---
- libavdevice/v4l2.c | 3 +++
- 1 file changed, 3 insertions(+)
+ libavdevice/v4l2.c | 4 ++++
+ 1 file changed, 4 insertions(+)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index c38ecbb..3457b43 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
-@@ -49,6 +49,9 @@
+@@ -49,6 +49,10 @@
#include <dirent.h>
#if CONFIG_LIBV4L2
+#if HAVE_IOCTL_POSIX
+#define HAVE_POSIX_IOCTL
++#define LIBV4L_HAVE_POSIX_IOCTL
+#endif
#include <libv4l2.h>
#endif
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (e1f9935cbd6f159e04bc8cef949944a82df80869), Ismael Luceno, 09/23/2026
Archive powered by MHonArc 2.6.24.