janneke pushed a commit to branch core-packages-team
in repository guix.
commit 57315fb4704915d09af287251dfbf6761ae4ecc3
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Sat Jan 4 17:47:04 2025 +0100
gnu: ffmpeg-3.4.13: Fix build with gcc-14.
* gnu/packages/video.scm (ffmpeg-3.4)[arguments]: Add stage
"relax-gcc-14-strictness".
Change-Id: Icdd483a459bfbf58b93e2cc22d5b1047120da7ad
---
gnu/packages/video.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index f35d937d2f..a4de868618 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1970,7 +1970,16 @@ audio/video codec library.")
"--enable-libaom"
"--enable-librav1e"
"--enable-libsrt"
- "--enable-libsvtav1")))))
+ "--enable-libsvtav1")))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'configure 'relax-gcc-14-strictness
+ (lambda _
+ (substitute* "ffbuild/config.mak"
+ (("CFLAGS *=" all)
+ (string-append all
+ " -Wno-error=incompatible-pointer-types"
+ " -Wno-error=int-conversion")))))))))
(inputs (modify-inputs (package-inputs ffmpeg-4)
(delete "dav1d" "libaom" "rav1e" "srt")))))