This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0f56476c79 gnu: timidity++: Fix build with gcc-14.
0f56476c79 is described below

commit 0f56476c79189a79d9774b8c7ced28ee170ef195
Author: Andreas Enge <[email protected]>
AuthorDate: Mon Jul 28 11:52:58 2025 +0200

    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
---
 gnu/packages/audio.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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 <[email protected]>
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <[email protected]>
-;;; Copyright © 2015 Andreas Enge <[email protected]>
+;;; Copyright © 2015, 2025 Andreas Enge <[email protected]>
 ;;; Copyright © 2015 Alex Kost <[email protected]>
 ;;; Copyright © 2015, 2016 Mark H Weaver <[email protected]>
 ;;; Copyright © 2016-2022, 2024 Efraim Flashner <[email protected]>
@@ -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")

Reply via email to