mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
pstoedit: patch to ensure gs-9.22 compatibilty (#43280)
This commit is contained in:
parent
58eb085b66
commit
bceb0ee098
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "147jkgvm9n6mbkl6ndqnm9x74x5y9agbxkfwj0jrw6yxyhxx2cdd";
|
||||
};
|
||||
|
||||
#
|
||||
# Turn on "-rdb" option (REALLYDELAYBIND) by default to ensure compatibility with gs-9.22
|
||||
#
|
||||
patches = [ ./pstoedit-gs-9.22-compat.patch ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]
|
||||
|
13
pkgs/tools/graphics/pstoedit/pstoedit-gs-9.22-compat.patch
Normal file
13
pkgs/tools/graphics/pstoedit/pstoedit-gs-9.22-compat.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/pstoeditoptions.h b/src/pstoeditoptions.h
|
||||
index 7846883..0fb6a6f 100755
|
||||
--- a/src/pstoeditoptions.h
|
||||
+++ b/src/pstoeditoptions.h
|
||||
@@ -453,7 +453,7 @@ private:
|
||||
"Later versions of Ghostscript will probably support -dDELAYBIND again. "
|
||||
"But also in that case the security risk remains. So be careful with what "
|
||||
"files you process with pstoedit and Ghostscript.",
|
||||
- false), //
|
||||
+ true), //
|
||||
#endif
|
||||
pagetoextract (true, "-page","page number",g_t,"extract a specific page: 0 means all pages",
|
||||
"Select a single page from a multi-page PostScript or PDF file.",
|
Loading…
Reference in New Issue
Block a user