summary refs log tree commit diff
path: root/pkgs/applications/graphics/geeqie/default.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-06-27 02:32:50 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-06-27 03:18:06 -0400
commit36f005b830ebd8a421c2a3201f1c79a864606437 (patch)
tree813dcd5052f72274fd35f1ec6a48fed321fe276c /pkgs/applications/graphics/geeqie/default.nix
parent38be980e5d2e8bfca9b9070e29995c479f6c248f (diff)
downloadnixpkgs-36f005b830ebd8a421c2a3201f1c79a864606437.tar
nixpkgs-36f005b830ebd8a421c2a3201f1c79a864606437.tar.gz
nixpkgs-36f005b830ebd8a421c2a3201f1c79a864606437.tar.bz2
nixpkgs-36f005b830ebd8a421c2a3201f1c79a864606437.tar.lz
nixpkgs-36f005b830ebd8a421c2a3201f1c79a864606437.tar.xz
nixpkgs-36f005b830ebd8a421c2a3201f1c79a864606437.tar.zst
nixpkgs-36f005b830ebd8a421c2a3201f1c79a864606437.zip
geeqie: fix build with exiv2 0.27.1
Diffstat (limited to 'pkgs/applications/graphics/geeqie/default.nix')
-rw-r--r--pkgs/applications/graphics/geeqie/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix
index 4e1e7138e77..e4e31db94a6 100644
--- a/pkgs/applications/graphics/geeqie/default.nix
+++ b/pkgs/applications/graphics/geeqie/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, pkgconfig, autoconf, automake, gettext, intltool
 , gtk3, lcms2, exiv2, libchamplain, clutter-gtk, ffmpegthumbnailer, fbida
-, wrapGAppsHook
+, wrapGAppsHook, fetchpatch
 }:
 
 stdenv.mkDerivation rec {
@@ -12,8 +12,16 @@ stdenv.mkDerivation rec {
     sha256 = "0ciygvcxb78pqg59r6p061mkbpvkgv2rv3r79j3kgv3kalb3ln2w";
   };
 
-  # Do not build the changelog as this requires markdown.
-  patches = [ ./geeqie-no-changelog.patch ];
+  patches = [
+    # Do not build the changelog as this requires markdown.
+    ./geeqie-no-changelog.patch
+    # Fixes build with exiv2 0.27.1
+    (fetchpatch {
+      name = "geeqie-exiv2-0.27.patch";
+      url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/geeqie-exiv2-0.27.patch?h=packages/geeqie&id=dee28a8b3e9039b9cd6927b5a93ef2a07cd8271d";
+      sha256 = "05skpbyp8pcq92psgijyccc8liwfy2cpwprw6m186pf454yb5y9p";
+    })
+  ];
 
   preConfigure = "./autogen.sh";