me
/
guix
Archived
1
0
Fork 0

gnu: hedgewars: Fix build.

Fixes <https://issues.guix.gnu.org/46398>.

* gnu/packages/games.scm (hedgewars)[arguments]<#:phases>: Add the missing
"#include <QPainterPath>".
master
宋文武 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
1 changed files with 6 additions and 0 deletions

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