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

commit 59123c3a201e65bce7bf334f0e4ebfe0180ca0a0
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Tue Dec 31 13:36:03 2024 +0100

    gnu: libvisual: Fix build with gcc-14.
    
    * gnu/packages/gstreamer.scm (libvisual)[arguments]: Add #:configure-flags 
to
    relax gcc-14's strictness.
    
    Change-Id: I84cb625c98e4ef75a87ad9ffe7fa580685c0fcf0
---
 gnu/packages/gstreamer.scm | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index c4fb8b9b4d..d91b5e601e 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2020 Michael Rohleder <m...@rohleder.de>
 ;;; Copyright © 2023 Maxim Cournoyer <maxim.courno...@gmail.com>
 ;;; Copyright © 2024 Remco van 't Veer <re...@remworks.net>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -238,13 +239,15 @@ and very fast.")
         (base32 "02xwakwkqjsznc03pjlb6hcv1li1gw3r8xvyswqsm4msix5xq18a"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; The package is in a sub-dir of this repo.
-         (add-after 'unpack 'chdir
-           (lambda _
-             (chdir "libvisual")
-             #t)))))
+     (list
+      #:configure-flags
+      #~(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; The package is in a sub-dir of this repo.
+          (add-after 'unpack 'chdir
+            (lambda _
+              (chdir "libvisual"))))))
     (native-inputs
      (list gettext-minimal intltool libtool pkg-config))
     (inputs

Reply via email to