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
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -9213,6 +9213,12 @@ (define-public hedgewars
"-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