diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index efa6d24d8f..bf6b79370a 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -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 ") + "#include \n#include ")))) (replace 'check (lambda _ (invoke "ctest"))) (add-after 'install 'install-icon