From ab8dffab29dcbb99447c9a0c62d4799f2c6e9df2 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 7 Dec 2020 01:04:00 +0100 Subject: [PATCH] kdeFrameworks.kpurpose: add patch required with Qt5 5.15.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Qt 5.15 carried a change that renamed a getter for the socket error. In a later relase that change was reverted (to be less ambiguous) thus now those that had picked up the change in API had to change their code. This has now been reverted [0] and thus the consumers also have to revert their changes… [0] https://codereview.qt-project.org/c/qt/qtbase/+/289693 --- pkgs/development/libraries/kde-frameworks/purpose.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/kde-frameworks/purpose.nix b/pkgs/development/libraries/kde-frameworks/purpose.nix index 1484b2d0489..662333512fe 100644 --- a/pkgs/development/libraries/kde-frameworks/purpose.nix +++ b/pkgs/development/libraries/kde-frameworks/purpose.nix @@ -1,14 +1,21 @@ { mkDerivation, lib, extra-cmake-modules, qtbase , qtdeclarative, kconfig, kcoreaddons, ki18n, kio, kirigami2 +, fetchpatch }: mkDerivation { name = "purpose"; meta = { maintainers = [ lib.maintainers.bkchr ]; }; nativeBuildInputs = [ extra-cmake-modules ]; + patches = [ + (fetchpatch { + url = "https://github.com/KDE/purpose/commit/b3842a0941858792e997bb35b679a3fdf3ef54ca.patch"; + sha256 = "14brpryrrfrli1amk4flpnd03wr4zyycpiirndn9sjz0krqlgf3j"; + }) + ]; buildInputs = [ - qtbase qtdeclarative kconfig kcoreaddons + qtbase qtdeclarative kconfig kcoreaddons ki18n kio kirigami2 ]; }