From 642fcb1d08548fa887b4561f2590df62cd8eacbc Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 18 Sep 2021 15:03:41 +0200 Subject: gnu: q5go: Fix build. * gnu/packages/games.scm (q5go)[arguments]: Add 'fix-header' phase. --- gnu/packages/games.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages') 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 " all) + (string-append all "\n#include "))))) (add-after 'unpack 'fix-paths (lambda _ (substitute* '("src/pics/Makefile.in" -- cgit v1.2.3