qcachegrind: Fix build with Qt 5.10
This commit is contained in:
parent
a25e6e1d96
commit
97be994d6a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind }:
|
{ stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind, fetchpatch }:
|
||||||
|
|
||||||
let
|
let
|
||||||
name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
|
name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
|
||||||
@ -12,6 +12,14 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ qmake ];
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-qt5_10-build.patch";
|
||||||
|
url = https://github.com/KDE/kcachegrind/commit/c41607a.patch;
|
||||||
|
sha256 = "00kh5im3hpcarch8rc2dsgxsajfmd8vd7rry9x6mxrbkgr4ifq8y";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -p converters/dprof2calltree $out/bin/dprof2calltree
|
cp -p converters/dprof2calltree $out/bin/dprof2calltree
|
||||||
|
Loading…
x
Reference in New Issue
Block a user