mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-04 08:15:54 +02: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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user