about summary refs log tree commit diff
path: root/pkgs/applications/graphics/inkscape
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-12-08 16:57:10 +0100
committerJan Tojnar <jtojnar@gmail.com>2022-01-27 17:49:12 +0100
commitc4b9851332bcef5e4554e306df791b3b4b14409a (patch)
tree82319a96d3f01173445797049e42df8784366e33 /pkgs/applications/graphics/inkscape
parent490b9b0fa0e7e90ca5bea9cfe79561a97a641530 (diff)
inkscape: fix build with Poppler 21.11.0
Diffstat (limited to 'pkgs/applications/graphics/inkscape')
-rw-r--r--pkgs/applications/graphics/inkscape/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index 24f3a555fd5af..271173a8b027c 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -81,6 +81,14 @@ stdenv.mkDerivation rec {
       stripLen = 1;
       extraPrefix = "share/extensions/";
     })
+
+    # Fix build with Poppler 21.11.0.
+    # https://gitlab.com/inkscape/inkscape/-/merge_requests/3622
+    (fetchpatch {
+      url = "https://gitlab.com/inkscape/inkscape/-/commit/5724c21b9cb7b6176a7b36ca24068b148c817e82.patch";
+      sha256 = "/1p/Vkes1HuZN0v09Ey4kiT+4zrEaoSXyPAmc4O3sDg=";
+    })
+
     # Remove mandatory break from end of paragraphs, added in Pango 1.49
     # https://gitlab.com/inkscape/inkscape/-/merge_requests/3630
     # TODO: Remove in Inkscape 1.1.2