hedgewars: add patch and update to libsForQt5

This commit is contained in:
Ricardo Ardissone 2022-07-07 23:14:12 -03:00 committed by Franz Pletz
parent d4607e393d
commit 5a035d7b23
3 changed files with 15 additions and 1 deletions

View file

@ -33,6 +33,10 @@ stdenv.mkDerivation rec {
qtbase
] ++ lib.optional withServer ghc;
patches = [
./qt515.patch
];
postPatch = ''
substituteInPlace gameServer/CMakeLists.txt \
--replace mask evaluate

View file

@ -0,0 +1,10 @@
--- a/QTfrontend/ui/page/pagegamestats.cpp
+++ b/QTfrontend/ui/page/pagegamestats.cpp
@@ -22,6 +22,7 @@
#include <QGraphicsScene>
#include <QGroupBox>
#include <QSizePolicy>
+#include <QPainterPath>
#include "pagegamestats.h"
#include "team.h"

View file

@ -32778,7 +32778,7 @@ with pkgs;
harmonist = callPackage ../games/harmonist { };
hedgewars = libsForQt514.callPackage ../games/hedgewars {
hedgewars = libsForQt5.callPackage ../games/hedgewars {
inherit (haskellPackages) ghcWithPackages;
};