krename: add patch for exiv2 0.28

This commit is contained in:
Weijia Wang 2023-08-08 17:50:41 +02:00
parent a634d19ba4
commit c6e3e4b93e

View file

@ -1,5 +1,5 @@
{
mkDerivation, fetchurl, lib,
mkDerivation, fetchurl, fetchpatch, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kinit, kjsembed, taglib, exiv2, podofo,
kcrash
@ -17,6 +17,14 @@ in mkDerivation rec {
sha256 = "sha256-sjxgp93Z9ttN1/VaxV/MqKVY+miq+PpcuJ4er2kvI+0=";
};
patches = [
(fetchpatch {
name = "fix-build-with-exiv2-0.28.patch";
url = "https://invent.kde.org/utilities/krename/-/commit/e7dd767a9a1068ee1fe1502c4d619b57d3b12add.patch";
hash = "sha256-JpLVbegRHJbXi/Z99nZt9kgNTetBi+L9GfKv5s3LAZw=";
})
];
buildInputs = [ taglib exiv2 podofo ];
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];