[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38122] [PATCH 012/197] gnu: pingus: Adjust for GCC 7.
From: |
Hartmut Goebel |
Subject: |
[bug#38122] [PATCH 012/197] gnu: pingus: Adjust for GCC 7. |
Date: |
Fri, 8 Nov 2019 11:33:40 +0100 |
From: Marius Bakke <address@hidden>
Fixes <https://bugs.gnu.org/37946>.
* gnu/packages/games.scm (pingus)[source](modules, snippet): New fields.
---
gnu/packages/games.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 04b06c88ee..a2917a5f23 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1445,7 +1445,16 @@ fight Morgoth, the Lord of Darkness.")
(base32
"0wp06kcmknsnxz7bjnsndb8x062z7r23fb3yrnbfnj68qhz18y74"))
(patches (search-patches "pingus-boost-headers.patch"
- "pingus-sdl-libs-config.patch"))))
+ "pingus-sdl-libs-config.patch"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "src/pingus/screens/demo_session.cpp"
+ (("#include <iostream>")
+ ;; std::function moved to <functional> with C++ 11.
+ ;; Remove this for versions newer than 0.7.6.
+ "#include <iostream>\n#include <functional>"))
+ #t))))
(build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config)
("scons-python2" ,scons-python2)))
--
2.21.0
- [bug#38122] [PATCH 0/1] qtwebkit: Uses sqlite-with-column-metadata., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 001/197] gnu: Add emacs-eshell-prompt-extras., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 1/1] gnu: qtwebkit: Uses sqlite-with-column-metadata., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 003/197] gnu: Fix attribution., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 002/197] gnu: Add emacs-eshell-did-you-mean., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 004/197] gnu: make-nsis: Fix cross-compilation., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 005/197] gnu: Add dxvk., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 006/197] gnu: Fix make-gcc-libc., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 007/197] gnu: Add gitg., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 010/197] services: ntp: Ensure no double quotes are output to config file., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 012/197] gnu: pingus: Adjust for GCC 7.,
Hartmut Goebel <=
- [bug#38122] [PATCH 011/197] gnu: pingus: Update source URI., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 008/197] gnu: Add python-keyutils., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 013/197] gnu: Remove python2-feather-format., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 009/197] gnu: Add udiskie., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 015/197] gnu: pocl: Update to 1.4., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 017/197] gnu: Chibi-Scheme: Update to 0.8., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 018/197] gnu: Chibi-Scheme: Do not use unstable tarball., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 021/197] gnu: musescore: Update to 3.3., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 020/197] services: ntp: Fix a crash when using legacy configuration., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 019/197] gnu: bitcoin-abc: Update to 0.20.4., Hartmut Goebel, 2019/11/08