janneke pushed a commit to branch core-packages-team
in repository guix.
commit 63cb63e669d39f610e3c13c0d0547f9559570f52
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Fri Jan 3 10:58:56 2025 +0100
gnu: portmidi: Fix build with gcc-14.
* gnu/packages/music.scm (portmidi)[arguments]: Add CMAKE_C_FLAGS to
#:configure-flags
to relax gcc-14's strictness.
Change-Id: I35e8a4d0c8d6db7b76af011b064cc356e95614f2
---
gnu/packages/music.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index fe902778c6..5f142a93bd 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -60,6 +60,7 @@
;;; Copyright © 2024 hapster <[email protected]>
;;; Copyright © 2024 Nikita Domnitskii <[email protected]>
;;; Copyright © 2024 Ashish SHUKLA <[email protected]>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3173,7 +3174,8 @@ main purpose is to liberate raw audio rendering from
audio and MIDI drivers.")
`(#:tests? #f ; tests cannot be linked
#:build-type "Release" ; needed to have PMALSA set
#:configure-flags
- (list "-DPORTMIDI_ENABLE_JAVA=Off"
+ (list "-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
+ "-DPORTMIDI_ENABLE_JAVA=Off"
"-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
#:phases
(modify-phases %standard-phases