1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02: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:
宋文武
2021-02-11 11:56:09 +08:00
parent 6fbefd03f0
commit c7296465cf

View File

@@ -9213,6 +9213,12 @@ play with up to four players simultaneously. It has network support.")
"-Dhaskell_flags=-dynamic;-fPIC")
#: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
(lambda _ (invoke "ctest")))
(add-after 'install 'install-icon