andreas pushed a commit to branch core-packages-team
in repository guix.

commit 68390c082cf9ae911ee24fa4f8f5b9138eb514c2
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
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 1b7f9a91c9..0a1a6aaf44 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

Reply via email to