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
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-11 12:34:53 +01:00
parent 891e0d225e
commit fffbed406d
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -50,6 +50,7 @@
;;; Copyright © 2024 mio <stigma@disroot.org>
;;; Copyright © 2024 Nikita Domnitskii <nikita@domnitskii.me>
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -2649,13 +2650,14 @@ (define-public jack-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