gnu: chow-tape-model: Fix build with gcc-14.

* gnu/packages/audio.scm (chow-tape-model)[arguments]<#:phases>
{fix-includes}: New phase.

Change-Id: I68623e405a22f51bbd9167c44f275b89c3a19798
This commit is contained in:
Andreas Enge 2025-08-01 13:46:46 +02:00
parent 003d53a234
commit c08ab89f67
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1773,6 +1773,11 @@ generators of mostly elementary and occasionally exotic nature.")
(string-append #$output:doc "/share/doc/")))))
(add-after 'install-manual 'chdir
(lambda _ (chdir "Plugin")))
(add-after 'chdir 'fix-includes
(lambda _
(substitute* "modules/JUCE/modules/juce_core/juce_core.h"
(("#define JUCE_CORE_H_INCLUDED" all)
(string-append all "\n#include <utility>")))))
(replace 'check
(lambda* (#:key tests? build-type #:allow-other-keys)
(when tests?