diff options
author | Andreas Enge <andreas@enge.fr> | 2025-07-22 00:20:45 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-22 00:29:44 +0200 |
commit | 81a956d5fa42bc6bbe47a6ad038e810558af4490 (patch) | |
tree | 6e304c30e6abe53a6ddfbaefbcfbfd53cb3d943f | |
parent | cabfaa8d6ccad771952bbe856b09807ebeb5dc99 (diff) |
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
-rw-r--r-- | gnu/packages/emulators.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 62eb2177b7..2f266c4f17 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -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") |