[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/16: gnu: knights: Fix build.
From: |
guix-commits |
Subject: |
16/16: gnu: knights: Fix build. |
Date: |
Wed, 23 Aug 2023 06:58:35 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit 3ce3466311953cc5f00a4fb34ff094a9a3501399
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Tue Aug 15 19:39:52 2023 +0800
gnu: knights: Fix build.
* 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 159a11c35f..c3b277eec1 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1891,7 +1891,13 @@ built-in level editor.")
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
- 01/16: gnu: fcitx5: Update to 5.1.0., (continued)
- 01/16: gnu: fcitx5: Update to 5.1.0., guix-commits, 2023/08/23
- 04/16: gnu: fcitx5-qt: Update to 5.1.0., guix-commits, 2023/08/23
- 05/16: gnu: fcitx5-anthy: Update to 5.1.0., guix-commits, 2023/08/23
- 07/16: gnu: fcitx5-configtool: Update to 5.1.0., guix-commits, 2023/08/23
- 09/16: gnu: naev: Fix build., guix-commits, 2023/08/23
- 12/16: gnu: prboom-plus: Fix build., guix-commits, 2023/08/23
- 14/16: gnu: weechat: Update to 4.0.4., guix-commits, 2023/08/23
- 11/16: gnu: tetrinet: Fix build., guix-commits, 2023/08/23
- 13/16: gnu: sic: Update to 1.3., guix-commits, 2023/08/23
- 15/16: gnu: screen: Update to 4.9.1., guix-commits, 2023/08/23
- 16/16: gnu: knights: Fix build.,
guix-commits <=