ImageMagick: add patch for ghostscript-9.27.
This commit is contained in:
parent
3f974897b3
commit
32ca5156c4
2 changed files with 37 additions and 1 deletions
36
srcpkgs/ImageMagick/patches/initialize_gs_instance.patch
Normal file
36
srcpkgs/ImageMagick/patches/initialize_gs_instance.patch
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
From a73c27e2a014c7777724752c319d39a9a3d12bf0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Johannes Brechtmann <johannes@jnbr.me>
|
||||||
|
Date: Sat, 6 Apr 2019 23:15:02 +0200
|
||||||
|
Subject: [PATCH] initialise ghostscript instances with NULL
|
||||||
|
|
||||||
|
---
|
||||||
|
coders/pdf.c | 2 +-
|
||||||
|
coders/ps.c | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/coders/pdf.c b/coders/pdf.c
|
||||||
|
index 77c90eb064..be8e44b60c 100644
|
||||||
|
--- coders/pdf.c
|
||||||
|
+++ coders/pdf.c
|
||||||
|
@@ -197,7 +197,7 @@ static MagickBooleanType InvokePDFDelegate(const MagickBooleanType verbose,
|
||||||
|
*ghost_info;
|
||||||
|
|
||||||
|
gs_main_instance
|
||||||
|
- *interpreter;
|
||||||
|
+ *interpreter = NULL;
|
||||||
|
|
||||||
|
gsapi_revision_t
|
||||||
|
revision;
|
||||||
|
diff --git a/coders/ps.c b/coders/ps.c
|
||||||
|
index e0288b0990..ecb49ffe39 100644
|
||||||
|
--- coders/ps.c
|
||||||
|
+++ coders/ps.c
|
||||||
|
@@ -187,7 +187,7 @@ static MagickBooleanType InvokePostscriptDelegate(
|
||||||
|
*ghost_info;
|
||||||
|
|
||||||
|
gs_main_instance
|
||||||
|
- *interpreter;
|
||||||
|
+ *interpreter = NULL;
|
||||||
|
|
||||||
|
gsapi_revision_t
|
||||||
|
revision;
|
|
@ -3,7 +3,7 @@ pkgname=ImageMagick
|
||||||
_majorver=7.0.8
|
_majorver=7.0.8
|
||||||
_patchver=36
|
_patchver=36
|
||||||
version="${_majorver}.${_patchver}"
|
version="${_majorver}.${_patchver}"
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-${_majorver}-${_patchver}"
|
wrksrc="${pkgname}-${_majorver}-${_patchver}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-autotrace --with-wmf=yes
|
configure_args="--without-autotrace --with-wmf=yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue