sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (c76cd0b2d999516ecf9d7d5d05c7247ab307157e)
- 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 (c76cd0b2d999516ecf9d7d5d05c7247ab307157e)
- Date: Wed, 2 Sep 2026 20:42:57 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
video/ffmpeg8/HISTORY | 3 +
video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch | 35
+++++++++++++++
2 files changed, 38 insertions(+)
New commits:
commit c76cd0b2d999516ecf9d7d5d05c7247ab307157e
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
ffmpeg8: Fix build against musl
diff --git a/video/ffmpeg8/HISTORY b/video/ffmpeg8/HISTORY
index a349a0b..8b03b64 100644
--- a/video/ffmpeg8/HISTORY
+++ b/video/ffmpeg8/HISTORY
@@ -1,3 +1,6 @@
+2026-09-02 Ismael Luceno <ismael AT sourcemage.org>
+ * patches/0001-fix-posix-ioctl-on-musl.patch: fixed build against musl
+
2026-06-18 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 8.1.2
diff --git a/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
b/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
new file mode 100644
index 0000000..0fbdcb0
--- /dev/null
+++ b/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
@@ -0,0 +1,35 @@
+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
+Subject: [PATCH] fix posix ioctl on musl
+
+The libv4l2 is built with posix ioctl but to make it known to
+the header the macro needs to be defined which is unfortunate.
+
+ffmpeg had it work for a while but then it broke when this
+commit was introduced:
+
+https://github.com/FFmpeg/FFmpeg/commit/5fea5e3e11d6ff425db48f44489916399822aece
+
+due to the macro previously being accidentally defined
+
+Upstream-Status: Unknown
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ libavdevice/v4l2.c | 3 +++
+ 1 file changed, 3 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 @@
+ #include <dirent.h>
+
+ #if CONFIG_LIBV4L2
++#if HAVE_IOCTL_POSIX
++#define LIBV4L_HAVE_POSIX_IOCTL
++#endif
+ #include <libv4l2.h>
+ #endif
+
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (c76cd0b2d999516ecf9d7d5d05c7247ab307157e), Ismael Luceno, 09/02/2026
Archive powered by MHonArc 2.6.24.