~ruther/guix-local

afd532d428e3adf99d06bb6e7ea0617dadeeccd6 — Andreas Enge 1 year, 2 months ago 0c771ca
gnu: guitarix: Fix build with gcc-14.

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

Change-Id: Ib1dc5204dc62f1121c52e734a782dd2c8f8bb49e
1 files changed, 5 insertions(+), 0 deletions(-)

M gnu/packages/audio.scm
M gnu/packages/audio.scm => gnu/packages/audio.scm +5 -0
@@ 2850,6 2850,11 @@ partial release of the General MIDI sound set.")
              (string-append "--ldflags=-Wl,-rpath=" #$output "/lib"))
           #:phases
           '(modify-phases %standard-phases
              (add-after 'unpack 'fix-includes
                (lambda _
                  (substitute* "src/LV2/DSP/gx_common.h"
                    (("#include <cstdlib>" all)
                     (string-append all "\n#include <cstdint>")))))
              (add-after 'unpack 'python3.11-compatibility
                (lambda _
                  (substitute* "wscript"