From b2ef0ae4cf1e0c8fc6b8a13f5128a1b1eca3f7d8 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 30 Sep 2023 23:29:21 +0200 Subject: qgis, qgis-ltr: add patch for exiv2 0.28 --- pkgs/applications/gis/qgis/unwrapped-ltr.nix | 6 ++++++ pkgs/applications/gis/qgis/unwrapped.nix | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'pkgs/applications/gis') diff --git a/pkgs/applications/gis/qgis/unwrapped-ltr.nix b/pkgs/applications/gis/qgis/unwrapped-ltr.nix index 6bade43a7449a..83be13b959960 100644 --- a/pkgs/applications/gis/qgis/unwrapped-ltr.nix +++ b/pkgs/applications/gis/qgis/unwrapped-ltr.nix @@ -1,5 +1,6 @@ { lib , fetchFromGitHub +, fetchpatch , makeWrapper , mkDerivation , substituteAll @@ -138,6 +139,11 @@ in mkDerivation rec { pyQt5PackageDir = "${py.pkgs.pyqt5}/${py.pkgs.python.sitePackages}"; qsciPackageDir = "${py.pkgs.qscintilla-qt5}/${py.pkgs.python.sitePackages}"; }) + (fetchpatch { + name = "qgis-3.28.9-exiv2-0.28.patch"; + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sci-geosciences/qgis/files/qgis-3.28.9-exiv2-0.28.patch?id=002882203ad6a2b08ce035a18b95844a9f4b85d0"; + hash = "sha256-mPRo0A7ko4GCHJrfJ2Ls0dUKvkFtDmhKekI2CR9StMw="; + }) ]; cmakeFlags = [ diff --git a/pkgs/applications/gis/qgis/unwrapped.nix b/pkgs/applications/gis/qgis/unwrapped.nix index 9ddef90fa2e06..8d01ce5f7a529 100644 --- a/pkgs/applications/gis/qgis/unwrapped.nix +++ b/pkgs/applications/gis/qgis/unwrapped.nix @@ -1,5 +1,6 @@ { lib , fetchFromGitHub +, fetchpatch , makeWrapper , mkDerivation , substituteAll @@ -141,6 +142,11 @@ in mkDerivation rec { pyQt5PackageDir = "${py.pkgs.pyqt5}/${py.pkgs.python.sitePackages}"; qsciPackageDir = "${py.pkgs.qscintilla-qt5}/${py.pkgs.python.sitePackages}"; }) + (fetchpatch { + name = "exiv2-0.28.patch"; + url = "https://github.com/qgis/QGIS/commit/32f5418fc4f7bb2ee986dee1824ff2989c113a94.patch"; + hash = "sha256-zWyf+kLro4ZyUJLX/nDjY0nLneTaI1DxHvRsvwoWq14="; + }) ]; # Add path to Qt platform plugins -- cgit 1.4.1