From fffbed406dc88e53a981a2c00a050c1aa4b67ef0 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Wed, 11 Dec 2024 12:34:53 +0100 Subject: [PATCH] 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 c0d8c55098..40519374ae 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -50,6 +50,7 @@ ;;; Copyright © 2024 mio ;;; Copyright © 2024 Nikita Domnitskii ;;; Copyright © 2024 Roman Scherer +;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; ;;; 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 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