hedgewars: add patch and update to libsForQt5
This commit is contained in:
parent
d4607e393d
commit
5a035d7b23
|
@ -33,6 +33,10 @@ stdenv.mkDerivation rec {
|
|||
qtbase
|
||||
] ++ lib.optional withServer ghc;
|
||||
|
||||
patches = [
|
||||
./qt515.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace gameServer/CMakeLists.txt \
|
||||
--replace mask evaluate
|
||||
|
|
10
pkgs/games/hedgewars/qt515.patch
Normal file
10
pkgs/games/hedgewars/qt515.patch
Normal 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"
|
|
@ -32778,7 +32778,7 @@ with pkgs;
|
|||
|
||||
harmonist = callPackage ../games/harmonist { };
|
||||
|
||||
hedgewars = libsForQt514.callPackage ../games/hedgewars {
|
||||
hedgewars = libsForQt5.callPackage ../games/hedgewars {
|
||||
inherit (haskellPackages) ghcWithPackages;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue