From b35d3aab11bafaeef1fdff7377c8a8baab13e4e5 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sat, 4 Jan 2025 17:47:04 +0100 Subject: [PATCH] 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 97b2b0fc06..242a05af84 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1971,7 +1971,16 @@ (define-public ffmpeg-3.4 "--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")))))