mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: dolphin-emu: Fix build with gcc@14.
* gnu/packages/emulators.scm (dolphin-emu)[arguments]<#:phases> {'generate-fonts&hardcore-libvulkan-path}: Include a missing header. Change-Id: I4ac3a69e956369015890663298b1e55aeaee1e5b
This commit is contained in:
parent
cabfaa8d6c
commit
81a956d5fa
1 changed files with 4 additions and 0 deletions
|
@ -409,6 +409,10 @@ It aims to support Nintendo DSi and 3DS as well.")
|
|||
(libvulkan
|
||||
(search-input-file inputs "/lib/libvulkan.so")))
|
||||
(chdir "docs")
|
||||
;; Include a missing header, needed for gcc@14.
|
||||
(substitute* "gc-font-tool.cpp"
|
||||
(("#include <cstring>" all)
|
||||
(string-append all "\n#include <cstdint>")))
|
||||
(invoke "bash" "-c" "g++ -O2 $(freetype-config \
|
||||
--cflags --libs) gc-font-tool.cpp -o gc-font-tool")
|
||||
(invoke "./gc-font-tool" "a" fontfile "font_western.bin")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue