Merge pull request #41944 from erosennin/ktorrent-cmake-3.11

ktorrent: fix build with CMake 3.11
This commit is contained in:
Jörg Thalheim 2018-06-15 14:32:09 +01:00 committed by GitHub
commit 31e0e3caaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake
{ stdenv, fetchurl, fetchpatch, cmake
, extra-cmake-modules, qtbase, qtscript
, karchive, kcrash, kdnssd, ki18n, kio, knotifications, knotifyconfig
, kdoctools, kross, kcmutils, kwindowsystem
@ -22,6 +22,14 @@ stdenv.mkDerivation rec {
libktorrent taglib libgcrypt kplotting
];
patches = [
# Fix build with CMake 3.11
(fetchpatch {
url = "https://cgit.kde.org/ktorrent.git/patch/?id=672c5076de7e3a526d9bdbb484a69e9386bc49f8";
sha256 = "1cn4rnbhadrsxqx50fawpd747azskavbjraygr6s11rh1wbfrxid";
})
];
enableParallelBuilding = true;
meta = with stdenv.lib; {