~ruther/guix-local

8e7f21aabbe150b743642faf689780299674d59d — Nigko Yerden 10 months ago f531a56
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 <andreas@enge.fr>
1 files changed, 7 insertions(+), 1 deletions(-)

M gnu/packages/games.scm
M gnu/packages/games.scm => gnu/packages/games.scm +7 -1
@@ 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"