pdftoipe: Fix build with latest poppler version
This commit is contained in:
parent
d6256f19d1
commit
6c0501dd42
1 changed files with 13 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, poppler
|
, poppler
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -15,6 +16,18 @@ stdenv.mkDerivation rec {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
|
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";
|
sourceRoot = "source/pdftoipe";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
Loading…
Reference in a new issue