This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 81a956d5fa gnu: dolphin-emu: Fix build with gcc@14.
81a956d5fa is described below

commit 81a956d5fa42bc6bbe47a6ad038e810558af4490
Author: Andreas Enge <andr...@enge.fr>
AuthorDate: Tue Jul 22 00:20:45 2025 +0200

    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
---
 gnu/packages/emulators.scm | 4 ++++
 1 file changed, 4 insertions(+)

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")

Reply via email to