kompare: fix build with patch
Obsolete methods were still in use when 20.08 was released. This patch ports away from them.
This commit is contained in:
parent
f6be2d2635
commit
cd8b36411a
@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
mkDerivation, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kiconthemes, kparts, ktexteditor, kwidgetsaddons, libkomparediff2
|
kiconthemes, kparts, ktexteditor, kwidgetsaddons, libkomparediff2,
|
||||||
|
fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
@ -11,5 +12,15 @@ mkDerivation {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
kiconthemes kparts ktexteditor kwidgetsaddons libkomparediff2
|
kiconthemes kparts ktexteditor kwidgetsaddons libkomparediff2
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# Portaway from Obsolete methods of QPrinter
|
||||||
|
# Part of v20.12.0
|
||||||
|
url = "https://invent.kde.org/sdk/kompare/-/commit/68d3eee36c48a2f44ccfd3f9e5a36311b829104b.patch";
|
||||||
|
sha256 = "B2i5n5cUDjCqTEF0OyTb1+LhPa5yWCnFycwijf35kwU=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user