janneke pushed a commit to branch core-packages-team
in repository guix.
commit 600e2b22515221cedd2f8830ad35c08d1d67b21b
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Dec 31 23:08:10 2024 +0100
gnu: libquicktime: Fix build with gcc-14.
* gnu/packages/video.scm (libquicktime)[arguments]: Add CFLAGS to
#:configure-flags
to relax gcc-14's strictness.
Change-Id: I13491dad5b018f93865fabbaddae94850cedcecb
---
gnu/packages/video.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 55d2757b57..49662862f4 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -544,9 +544,12 @@ as a joint effort between the BBC and Fluendo.")
(search-patches "libquicktime-ffmpeg.patch"))))
(build-system gnu-build-system)
(arguments
- ;; Avoid legacy dependencies such as GTK+ 2 and FFmpeg 4.
- (list #:configure-flags #~(list "--without-ffmpeg"
- "--without-gtk")))
+ (list #:configure-flags
+ #~(list
+ "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
+ ;; Avoid legacy dependencies such as GTK+ 2 and FFmpeg 4.
+ "--without-ffmpeg"
+ "--without-gtk")))
(native-inputs
(list gettext-minimal doxygen pkg-config))
(inputs