qtcurve: fix build w/gcc9

https://hydra.nixos.org/build/108759256
This commit is contained in:
Maximilian Bosch 2019-12-30 13:19:43 +01:00
parent 7acacddfa5
commit 02f92455c4
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -3,6 +3,7 @@
, karchive, kconfig, kconfigwidgets, kio, frameworkintegration
, kguiaddons, ki18n, kwindowsystem, kdelibs4support, kiconthemes
, libpthreadstubs, pcre, libXdmcp, libX11, libXau # X11 dependencies
, fetchpatch
}:
let
@ -15,6 +16,13 @@ in mkDerivation {
sha256 = "169gdny1cdld0qnx3nqvx568zjzdba4pwp3gxapc1hdh2cymw7r8";
};
patches = [
(fetchpatch {
url = "https://github.com/KDE/qtcurve/commit/ee2228ea2f18ac5da9b434ee6089381df815aa94.patch";
sha256 = "1vz5frsrsps93awn84gk8d7injrqfcyhc1rji6s0gsgsp5z9sl34";
})
];
enableParallelBuilding = true;
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ];