unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65309] [PATCH] gnu: knights: Fix build.
@ 2023-08-15 11:39 iyzsong--- via Guix-patches via
  2023-08-23 11:00 ` bug#65309: " 宋文武 via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: iyzsong--- via Guix-patches via @ 2023-08-15 11:39 UTC (permalink / raw)
  To: 65309
  Cc: 宋文武, Liliana Marie Prikler,
	宋文武

From: 宋文武 <iyzsong@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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#65309: [PATCH] gnu: knights: Fix build.
  2023-08-15 11:39 [bug#65309] [PATCH] gnu: knights: Fix build iyzsong--- via Guix-patches via
@ 2023-08-23 11:00 ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-08-23 11:00 UTC (permalink / raw)
  To: 65309-done; +Cc: 宋文武, Liliana Marie Prikler


Pushed now, closing.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-23 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-15 11:39 [bug#65309] [PATCH] gnu: knights: Fix build iyzsong--- via Guix-patches via
2023-08-23 11:00 ` bug#65309: " 宋文武 via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).