about summary refs log tree commit diff
path: root/pkgs/applications/graphics/kphotoalbum
diff options
context:
space:
mode:
author6t8k <58048945+6t8k@users.noreply.github.com>2023-11-10 02:49:43 +0100
committer6t8k <58048945+6t8k@users.noreply.github.com>2023-11-10 03:43:56 +0100
commitdd14fdd6b25879c2c0f96f8a0d781fa499d6d53b (patch)
tree83d290ec0adce4c699c625d66bd12021a3216b57 /pkgs/applications/graphics/kphotoalbum
parent39404056ed559f690060467932d32fe3bca55350 (diff)
digikam, kphotoalbum, photoqt: patches fixing build against exiv2 0.28.1
Diffstat (limited to 'pkgs/applications/graphics/kphotoalbum')
-rw-r--r--pkgs/applications/graphics/kphotoalbum/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/kphotoalbum/default.nix b/pkgs/applications/graphics/kphotoalbum/default.nix
index f8cb634cad704..6ff2f43399584 100644
--- a/pkgs/applications/graphics/kphotoalbum/default.nix
+++ b/pkgs/applications/graphics/kphotoalbum/default.nix
@@ -1,4 +1,5 @@
 { mkDerivation
+, fetchpatch
 , fetchurl
 , lib
 , extra-cmake-modules
@@ -25,6 +26,14 @@ mkDerivation rec {
     hash = "sha256-NWtOIHJXtc8PlltYbbp2YwDf/3QI3MdHNDX7WVQMig4=";
   };
 
+  # Fix build against exiv2 0.28.1
+  patches = [
+    (fetchpatch {
+      url = "https://invent.kde.org/graphics/kphotoalbum/-/commit/1ceb1ae37f3f95aa290b0846969af4b26f616760.patch";
+      hash = "sha256-SfBJHyJZcysvemc/F09GPczBjcofxGomgjJ814PSU+c=";
+    })
+  ];
+
   # not sure if we really need phonon when we have vlc, but on KDE it's bound to
   # be on the system anyway, so there is no real harm including it
   buildInputs = [ exiv2 phonon libvlc ];