GNU bug report logs - #65309
[PATCH] gnu: knights: Fix build.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Tue, 15 Aug 2023 11:41:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 宋文武 <iyzsong <at> envs.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#65309: closed ([PATCH] gnu: knights: Fix build.)
Date: Wed, 23 Aug 2023 11:01:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 23 Aug 2023 19:00:27 +0800
with message-id <874jkqyqes.fsf <at> envs.net>
and subject line Re: bug#65309: [PATCH] gnu: knights: Fix build.
has caused the debbugs.gnu.org bug report #65309,
regarding [PATCH] gnu: knights: Fix build.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
65309: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65309
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH] gnu: knights: Fix build.
Date: Tue, 15 Aug 2023 19:39:52 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/games.scm (knights)[source]: Add snippet.
---
 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 a5fa19fc20..3d4e87a2db 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1890,7 +1890,13 @@ (define-public knights
                                   version "_src.tar.gz"))
               (sha256
                (base32
-                "18vp2ygvn0s0jz8rm585jqf6hjqkam1ximq81k0r9hpmfj7wb88f"))))
+                "18vp2ygvn0s0jz8rm585jqf6hjqkam1ximq81k0r9hpmfj7wb88f"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Fix a missing include for std::map.
+               #~(substitute* "src/shared/impl/lua_func_wrapper.cpp"
+                   (("#include \"misc[.]hpp\"" x)
+                    (string-append "#include <map>\n" x))))))
     (build-system gnu-build-system)
     (arguments
      '(#:make-flags

base-commit: f2943958a224beda05a3d040876df2a7285cd7a2
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: 65309-done <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: bug#65309: [PATCH] gnu: knights: Fix build.
Date: Wed, 23 Aug 2023 19:00:27 +0800
Pushed now, closing.


This bug report was last modified 1 year and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.