From b308d14631607208b0f78635e4794907e4bd5df7 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 31 Aug 2023 00:48:53 +0200 Subject: [PATCH] hugin: add patch for exiv2 0.28 --- pkgs/applications/graphics/hugin/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/applications/graphics/hugin/default.nix index d5feb67f4b15..29535438ec7e 100644 --- a/pkgs/applications/graphics/hugin/default.nix +++ b/pkgs/applications/graphics/hugin/default.nix @@ -2,6 +2,7 @@ , stdenv , cmake , fetchurl +, fetchpatch , gnumake , makeWrapper , pkg-config @@ -41,9 +42,17 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://sourceforge/hugin/hugin-${version}.tar.bz2"; - sha256 = "sha256-l8hWKgupp0PguVWkPf3gSLHGDNnl8u4rad4agWRuBac="; + hash = "sha256-l8hWKgupp0PguVWkPf3gSLHGDNnl8u4rad4agWRuBac="; }; + patches = [ + (fetchpatch { + name = "hugin-2022.0.0-exiv2-0.28.patch"; + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/hugin/files/hugin-2022.0.0-exiv2-0.28.patch?id=d18335caa756f5e5c1478d5fe3ba17f011a78c80"; + hash = "sha256-Y+79bFb926GW5oLOL0e5y7kLhqU/vZcry+kLL4H2fUE="; + }) + ]; + buildInputs = [ boost cairo