Merge pull request #182450 from onny/pdftoipe

pdftoipe: Fix build with latest poppler version
This commit is contained in:
Maximilian Bosch 2022-07-22 15:44:32 +02:00 committed by GitHub
commit edcd3af79f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, pkg-config
, poppler
, fetchpatch
}:
stdenv.mkDerivation rec {
@ -15,6 +16,18 @@ stdenv.mkDerivation rec {
rev = "v${version}";
sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
};
patches = [
# Fix build with poppler > 22.03.0
# https://github.com/otfried/ipe-tools/pull/48
(fetchpatch {
url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
stripLen = 1;
name = "poppler_fix_build.patch";
})
];
sourceRoot = "source/pdftoipe";
nativeBuildInputs = [ pkg-config ];