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

commit 0f04b517c201c0bad400a1a7d042b2bba68023da
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Wed Dec 11 12:34:53 2024 +0100

    gnu: jack-1: Fix build with gcc-14.
    
    * gnu/packages/audio.scm (jack-1)[arguments]: Add CFLAGS to 
#:configure-flags
    to relax gcc-14's strictness.
    
    Change-Id: Id4506b072e7651991be54f119645d7842757ed0b
---
 gnu/packages/audio.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 25dab48a3e..9c57b4d269 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2024 mio <sti...@disroot.org>
 ;;; Copyright © 2024 Nikita Domnitskii <nik...@domnitskii.me>
 ;;; Copyright © 2024 Roman Scherer <ro...@burningswell.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2652,13 +2653,14 @@ especially for creating reverb effects.  It supports 
impulse responses with 1,
         (base32 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
+     `(#:configure-flags
+       '("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
+       #:phases (modify-phases %standard-phases
                   (add-after 'unpack 'patch-configure
                     (lambda _
                       (substitute* "configure"
                         ;; Install to <out/lib> regardless of platform.
-                        (("libnn=lib64") "libnn=lib"))
-                      #t)))))
+                        (("libnn=lib64") "libnn=lib")))))))
     (inputs
      (list alsa-lib readline))
     ;; uuid.h is included in the JACK type headers

Reply via email to