mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-03 18:09:18 -05:00
gnu: hedgewars: Fix build.
Fixes <https://issues.guix.gnu.org/46398>. * gnu/packages/games.scm (hedgewars)[arguments]<#:phases>: Add the missing "#include <QPainterPath>".
This commit is contained in:
parent
6fbefd03f0
commit
c7296465cf
1 changed files with 6 additions and 0 deletions
|
@ -9213,6 +9213,12 @@ (define-public hedgewars
|
||||||
"-Dhaskell_flags=-dynamic;-fPIC")
|
"-Dhaskell_flags=-dynamic;-fPIC")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'fix-sources
|
||||||
|
(lambda _
|
||||||
|
;; Fix a missing 'include'.
|
||||||
|
(substitute* "QTfrontend/ui/page/pagegamestats.cpp"
|
||||||
|
(("#include <QSizePolicy>")
|
||||||
|
"#include <QSizePolicy>\n#include <QPainterPath>"))))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _ (invoke "ctest")))
|
(lambda _ (invoke "ctest")))
|
||||||
(add-after 'install 'install-icon
|
(add-after 'install 'install-icon
|
||||||
|
|
Loading…
Reference in a new issue