mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: guitarix: Fix build with gcc-14.
* gnu/packages/audio.scm (guitarix)[arguments]<#:phases>{fix-includes}:
New phase.
Change-Id: Ib1dc5204dc62f1121c52e734a782dd2c8f8bb49e
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user