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
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-04 17:47:04 +01:00
parent e33bc081cf
commit b35d3aab11
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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")))))