From d18a8904c0f4a0b915fd72798a0a14c108fa279c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 27 Feb 2016 13:21:20 +0100 Subject: [PATCH] kde5.libksysguard: fix build with glibc-2.23 ... using an upstream patch. --- pkgs/desktops/plasma-5.5/libksysguard/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/plasma-5.5/libksysguard/default.nix b/pkgs/desktops/plasma-5.5/libksysguard/default.nix index 373221b2b30..402b3ce3bee 100644 --- a/pkgs/desktops/plasma-5.5/libksysguard/default.nix +++ b/pkgs/desktops/plasma-5.5/libksysguard/default.nix @@ -1,4 +1,4 @@ -{ plasmaPackage, extra-cmake-modules, kauth, kcompletion +{ fetchpatch, plasmaPackage, extra-cmake-modules, kauth, kcompletion , kconfigwidgets, kcoreaddons, kservice, kwidgetsaddons , kwindowsystem, plasma-framework, qtscript, qtwebkit, qtx11extras , kconfig, ki18n, kiconthemes @@ -6,7 +6,14 @@ plasmaPackage { name = "libksysguard"; - patches = [ ./0001-qdiriterator-follow-symlinks.patch ]; + patches = [ + ./0001-qdiriterator-follow-symlinks.patch + (fetchpatch { # should be included on update + name = "glibc-2.23-isnan.patch"; + url = https://github.com/KDE/libksysguard/commit/b0578798eb3.patch; + sha256 = "1my5nqp58c5azyi265j261a10wh047zxakprrnpl85mlg7bwskdh"; + }) + ]; nativeBuildInputs = [ extra-cmake-modules ];