diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-09-18 15:03:41 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-09-18 15:03:41 +0200 |
commit | 642fcb1d08548fa887b4561f2590df62cd8eacbc (patch) | |
tree | f97161877f4bb8de45d2a73787a0280aab2e6cac /gnu/packages | |
parent | a9798a0abecbd129c502216a340076cf98f9b613 (diff) | |
download | guix-patches-642fcb1d08548fa887b4561f2590df62cd8eacbc.tar guix-patches-642fcb1d08548fa887b4561f2590df62cd8eacbc.tar.gz |
gnu: q5go: Fix build.
* gnu/packages/games.scm (q5go)[arguments]: Add 'fix-header' phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/games.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 9d7ba9a73a..88a589551d 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -10121,6 +10121,11 @@ can be downloaded from @url{https://zero.sjeng.org/best-network}.") (("qtchooser -run-tool=(.*) -qt=qt5" _ command) command)) #t)) + (add-after 'unpack 'fix-header + (lambda _ + (substitute* "src/bitarray.h" + (("#include <cstring>" all) + (string-append all "\n#include <stdexcept>"))))) (add-after 'unpack 'fix-paths (lambda _ (substitute* '("src/pics/Makefile.in" |