pdftoipe: Fix build with latest poppler version

+13
+13
pkgs/tools/graphics/pdftoipe/default.nix
··· 3 3 , fetchFromGitHub 4 4 , pkg-config 5 5 , poppler 6 + , fetchpatch 6 7 }: 7 8 8 9 stdenv.mkDerivation rec { ··· 15 16 rev = "v${version}"; 16 17 sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k="; 17 18 }; 19 + 20 + patches = [ 21 + # Fix build with poppler > 22.03.0 22 + # https://github.com/otfried/ipe-tools/pull/48 23 + (fetchpatch { 24 + url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch"; 25 + sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc="; 26 + stripLen = 1; 27 + name = "poppler_fix_build.patch"; 28 + }) 29 + ]; 30 + 18 31 sourceRoot = "source/pdftoipe"; 19 32 20 33 nativeBuildInputs = [ pkg-config ];