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 8e7f21aabb gnu: supertux: Fix build with gcc@14.
8e7f21aabb is described below

commit 8e7f21aabbe150b743642faf689780299674d59d
Author: Nigko Yerden <nigko.yer...@gmail.com>
AuthorDate: Sun Jul 20 11:32:00 2025 +0500

    gnu: supertux: Fix build with gcc@14.
    
    * gnu/packages/games.scm (supertux)[source]<origin>: Add snippet
    which fixes a missing include for std::memory.
    Add modules for substitute* in the snippet.
    
    Fixes: guix/guix#1402
    
    Change-Id: I8a304d837331a3db6bf3d5fe52b9bd27c444f9f7
    Signed-off-by: Andreas Enge <andr...@enge.fr>
---
 gnu/packages/games.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index fda4751c5b..98759a4579 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -6902,7 +6902,13 @@ with the \"Stamp\" tool within Tux Paint.")
              (base32
               "1xkr3ka2sxp5s0spp84iv294i29s1vxqzazb6kmjc0n415h0x57p"))
             (patches
-             (search-patches "supertux-unbundle-squirrel.patch"))))
+             (search-patches "supertux-unbundle-squirrel.patch"))
+            (modules '((guix build utils)))
+            (snippet
+             #~(substitute* "external/partio_zip/zip_manager.hpp"
+                            (("^#include <vector>" include-vector)
+                             (string-append "#include <memory>\n"
+                                            include-vector))))))
    (arguments
     '(#:tests? #f
       #:configure-flags '("-DINSTALL_SUBDIR_BIN=bin"

Reply via email to