[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: hedgewars: Fix build.
From: |
guix-commits |
Subject: |
branch master updated: gnu: hedgewars: Fix build. |
Date: |
Wed, 10 Feb 2021 22:57:24 -0500 |
This is an automated email from the git hooks/post-receive script.
iyzsong pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new c729646 gnu: hedgewars: Fix build.
c729646 is described below
commit c7296465cff593bd3c82c7152e09f4337252ce4d
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Thu Feb 11 11:56:09 2021 +0800
gnu: hedgewars: Fix build.
Fixes <https://issues.guix.gnu.org/46398>.
* gnu/packages/games.scm (hedgewars)[arguments]<#:phases>: Add the missing
"#include <QPainterPath>".
---
gnu/packages/games.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index efa6d24..bf6b793 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: hedgewars: Fix build.,
guix-commits <=