diff options
author | Andreas Enge <andreas@enge.fr> | 2025-07-28 11:52:58 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-28 11:52:58 +0200 |
commit | 0f56476c79189a79d9774b8c7ced28ee170ef195 (patch) | |
tree | 5c620ee99f835fa07f15749f8a9a7f8f84e9e7ff | |
parent | 0285d353bfe03ee34e5831a1f0a08ec22e252297 (diff) |
gnu: timidity++: Fix build with gcc-14.
* gnu/packages/audio.scm (timidity++)[arguments]<#:phases>{fix-config.h}:
New phase forcing the inclusion of standard C headers.
Change-Id: I7697630110db13fd1960e4313b93efbe41e54e3e
-rw-r--r-- | gnu/packages/audio.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 2c4b25253b..ba1f332e1a 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015-2025 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> -;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> +;;; Copyright © 2015, 2025 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2015 Alex Kost <alezost@gmail.com> ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2016-2022, 2024 Efraim Flashner <efraim@flashner.co.il> @@ -4583,6 +4583,11 @@ for loudness normalisation.") (assoc-ref %outputs "out") "/etc/timidity")) #:phases (modify-phases %standard-phases + (add-after 'configure 'fix-config.h + (lambda _ + (substitute* "config.h" + (("/\\* #undef STDC_HEADERS \\*/") + "#define STDC_HEADERS 1")))) (add-after 'install 'install-config (lambda _ (let ((out (string-append (assoc-ref %outputs "out") |