mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 21:49:34 -05:00
gnu: q5go: Fix build.
* gnu/packages/games.scm (q5go)[arguments]: Add 'fix-header' phase.
This commit is contained in:
parent
a9798a0abe
commit
642fcb1d08
1 changed files with 5 additions and 0 deletions
|
@ -10121,6 +10121,11 @@ (define-public q5go
|
|||
(("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"
|
||||
|
|
Loading…
Reference in a new issue