janneke pushed a commit to branch core-packages-team
in repository guix.
commit 29bc5106f818cb742a5149be1f107dd7d2e24c9a
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 12b4d72a55..c485bcafc0 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.
;;;
@@ -3168,7 +3169,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