sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (bbee115234b11d572863591c7583c654662ae970)
- 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 (bbee115234b11d572863591c7583c654662ae970)
- Date: Wed, 2 Sep 2026 21:21:54 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
graphics/openexr/BUILD | 1
graphics/openexr/HISTORY | 1
video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch | 2
video/ffmpeg9/HISTORY | 3 +
video/ffmpeg9/patches/0001-fix-posix-ioctl-on-musl.patch | 35
+++++++++++++++
5 files changed, 41 insertions(+), 1 deletion(-)
New commits:
commit bbee115234b11d572863591c7583c654662ae970
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
ffmpeg9: Fix build against musl
Exact same patch as for ffmpeg8.
commit e19d71c3e43f50abb4bcf58bca6a99e5a8d51b55
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
ffmpeg8: Fix POSIX ioctl patch
The imported patch applies to an edit to libv4l2.h that we don't carry,
so edit to use the guard macro upstream uses.
commit d67b0a6bb13e7a6c19f6d4b78f6a68f73c43278a
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
openexr: Disable building the examples
diff --git a/graphics/openexr/BUILD b/graphics/openexr/BUILD
index 2ef6e03..b511b0c 100755
--- a/graphics/openexr/BUILD
+++ b/graphics/openexr/BUILD
@@ -6,6 +6,7 @@ OPTS+=" -DBUILD_SHARED_LIBS=on" &&
OPTS+=" -DOPENEXR_INSTALL_PKG_CONFIG=on" &&
OPTS+=" -DOPENEXR_USE_CLANG_TIDY=off" &&
OPTS+=" -DBUILD_TESTING=off" &&
+OPTS+=" -DOPENEXR_BUILD_EXAMPLES=OFF" &&
# On GCC, OPENEXR_EXPORT_TEMPLATE_INSTANCE expands to nothing (the branch
# defining it needs clang's __type_visibility__), so the explicit
# instantiations of TypedAttribute<> never export their ctor/dtor/typeinfo
diff --git a/graphics/openexr/HISTORY b/graphics/openexr/HISTORY
index f9fb694..25cb835 100644
--- a/graphics/openexr/HISTORY
+++ b/graphics/openexr/HISTORY
@@ -3,6 +3,7 @@
* BUILD: use default symbol visibility; GCC does not export the
explicit TypedAttribute<> instantiations otherwise, breaking the
link of exrheader
+ * BUILD: disabled the examples, not needed
2025-04-03 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 3.3.3
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 0fbdcb0..dbb8d3a 100644
--- a/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
+++ b/video/ffmpeg8/patches/0001-fix-posix-ioctl-on-musl.patch
@@ -28,7 +28,7 @@ index c38ecbb..3457b43 100644
#if CONFIG_LIBV4L2
+#if HAVE_IOCTL_POSIX
-+#define LIBV4L_HAVE_POSIX_IOCTL
++#define HAVE_POSIX_IOCTL
+#endif
#include <libv4l2.h>
#endif
diff --git a/video/ffmpeg9/HISTORY b/video/ffmpeg9/HISTORY
index a24c225..faf8b3c 100644
--- a/video/ffmpeg9/HISTORY
+++ b/video/ffmpeg9/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-08-12 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 9.0.1
diff --git a/video/ffmpeg9/patches/0001-fix-posix-ioctl-on-musl.patch
b/video/ffmpeg9/patches/0001-fix-posix-ioctl-on-musl.patch
new file mode 100644
index 0000000..dbb8d3a
--- /dev/null
+++ b/video/ffmpeg9/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 HAVE_POSIX_IOCTL
++#endif
+ #include <libv4l2.h>
+ #endif
+
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (bbee115234b11d572863591c7583c654662ae970), Ismael Luceno, 09/02/2026
Archive powered by MHonArc 2.6.24.