me
/
guix
Archived
1
0
Fork 0

gnu: q5go: Fix build.

* gnu/packages/games.scm (q5go)[arguments]: Add 'fix-header' phase.
master
Guillaume Le Vaillant 2021-09-18 15:03:41 +02:00
parent a9798a0abe
commit 642fcb1d08
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 5 additions and 0 deletions

View File

@ -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"