forked from pool/ghostscript
Accepting request 583719 from Printing
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/583719 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript?expand=0&rev=30
This commit is contained in:
commit
cf2fbcc701
46
ghostscript-fix-debug-use.patch
Normal file
46
ghostscript-fix-debug-use.patch
Normal file
@ -0,0 +1,46 @@
|
||||
From f0fe2481a2e9b0b632a1d4e804a5a1d27fe9c017 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Liddell <chris.liddell@artifex.com>
|
||||
Date: Wed, 17 Jan 2018 12:29:00 +0000
|
||||
Subject: [PATCH] Prevent undefined error with -DDEBUG
|
||||
|
||||
The procedure for dumping VM stats with -DDEBUG and -DINITDEBUG was not being
|
||||
bound, so the .<operator> internal operators we now undefine after
|
||||
initialization were missing by the time the procedure was called.
|
||||
|
||||
Now, simply bind the procedure
|
||||
---
|
||||
Resource/Init/gs_init.ps | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Resource/Init/gs_init.ps b/Resource/Init/gs_init.ps
|
||||
index eb4db02..335e3b1 100644
|
||||
--- a/Resource/Init/gs_init.ps
|
||||
+++ b/Resource/Init/gs_init.ps
|
||||
@@ -113,6 +113,7 @@ PDFSTEP { /PDFDEBUG //true def } if
|
||||
currentdict /PDFSTOPONERROR known /PDFSTOPONERROR exch def
|
||||
currentdict /PDFSTOPONWARNING known {/PDFSTOPONWARNING true def /PDFSTOPONERROR true def}{/PDFSTOPONWARNING false def} ifelse
|
||||
currentdict /PDFNOCIDFALLBACK known /PDFNOCIDFALLBACK exch def
|
||||
+/.bind /bind load def
|
||||
|
||||
/VMDEBUG
|
||||
INITDEBUG {{print mark
|
||||
@@ -133,7 +134,7 @@ currentdict /PDFNOCIDFALLBACK known /PDFNOCIDFALLBACK exch def
|
||||
{{pop
|
||||
}}
|
||||
ifelse
|
||||
- def
|
||||
+ .bind def
|
||||
|
||||
currentdict /BATCH known /BATCH exch def
|
||||
currentdict /DELAYBIND known /DELAYBIND exch def
|
||||
@@ -145,7 +146,6 @@ currentdict /FIXEDMEDIA known /FIXEDMEDIA exch def
|
||||
currentdict /FIXEDRESOLUTION known /FIXEDRESOLUTION exch def
|
||||
currentdict /LOCALFONTS known /LOCALFONTS exch def
|
||||
currentdict /JOBSERVER known /JOBSERVER exch def
|
||||
-/.bind /bind load def
|
||||
currentdict /NOCACHE known /NOCACHE exch def
|
||||
currentdict /NOCCFONTS known /NOCCFONTS exch def
|
||||
currentdict /NOCIE known /NOCIE exch def
|
||||
--
|
||||
2.9.1
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 14:55:51 CET 2018 - novell@mirell.de
|
||||
|
||||
- Add ghostscript-fix-debug-use.patch from upstream to fix broken
|
||||
printing with some drivers (especially Dell Printers) from
|
||||
https://bugs.ghostscript.com/show_bug.cgi?id=698837
|
||||
- Fix build for SLE targets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 16:04:48 CET 2017 - jsmeix@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghostscript-mini
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -78,6 +78,9 @@ Patch11: ppc64le-support.patch
|
||||
# Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h
|
||||
# in makefiles as we do not use the zlib sources from the Ghostscript upstream tarball:
|
||||
Patch100: remove-zlib-h-dependency.patch
|
||||
# Patch101 ghostscript-fix-debug-use.patch from upstream fixes file generation in
|
||||
# debug mode which lead to Fuji Xerox printer drivers to fail printing without any error.
|
||||
Patch101: ghostscript-fix-debug-use.patch
|
||||
|
||||
# RPM dependencies:
|
||||
Conflicts: ghostscript
|
||||
@ -156,6 +159,7 @@ This package contains the development files for Minimal Ghostscript.
|
||||
# Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h
|
||||
# in makefiles as we do not use the zlib sources from the Ghostscript upstream tarball:
|
||||
#patch100 -p1 -b remove-zlib-h-dependency.orig
|
||||
%patch101 -p1
|
||||
# Do not use the freetype jpeg libpng tiff zlib sources from the Ghostscript upstream tarball
|
||||
# because we prefer to use for long-established standard libraries the ones from SUSE
|
||||
# in particular to automatically get SUSE security updates for standard libraries.
|
||||
@ -221,6 +225,7 @@ make so
|
||||
# Configure and make libijs (that is not done regardless whether or not --with-ijs is used above):
|
||||
pushd ijs
|
||||
./autogen.sh
|
||||
autoreconf -fi
|
||||
./configure --prefix=%{_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
--libdir=%{_libdir} \
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 14:55:51 CET 2018 - novell@mirell.de
|
||||
|
||||
- Add ghostscript-fix-debug-use.patch from upstream to fix broken
|
||||
printing with some drivers (especially Dell Printers) from
|
||||
https://bugs.ghostscript.com/show_bug.cgi?id=698837
|
||||
- Fix build for SLE targets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 16:04:48 CET 2017 - jsmeix@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghostscript
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -98,6 +98,9 @@ Patch11: ppc64le-support.patch
|
||||
# Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h
|
||||
# in makefiles as we do not use the zlib sources from the Ghostscript upstream tarball:
|
||||
Patch100: remove-zlib-h-dependency.patch
|
||||
# Patch101 ghostscript-fix-debug-use.patch from upstream fixes file generation in
|
||||
# debug mode which lead to Fuji Xerox printer drivers to fail printing without any error.
|
||||
Patch101: ghostscript-fix-debug-use.patch
|
||||
|
||||
# RPM dependencies:
|
||||
# Additional RPM Provides of the ghostscript-library packages in openSUSE 11.4 from
|
||||
@ -289,6 +292,7 @@ This package contains the development files for Ghostscript.
|
||||
# but the hunk for LCMS2 (lcms2/include/lcms2.h) is still needed
|
||||
# see http://bugs.ghostscript.com/show_bug.cgi?id=695544
|
||||
%patch11 -p1 -b .ppc64le-support.orig
|
||||
%patch101 -p1
|
||||
# Patch100 remove-zlib-h-dependency.patch removes dependency on zlib/zlib.h
|
||||
# in makefiles as we do not use the zlib sources from the Ghostscript upstream tarball:
|
||||
#patch100 -p1 -b remove-zlib-h-dependency.orig
|
||||
@ -357,6 +361,7 @@ make so
|
||||
# Configure and make libijs (that is not done regardless whether or not --with-ijs is used above):
|
||||
pushd ijs
|
||||
./autogen.sh
|
||||
autoreconf -fi
|
||||
./configure --prefix=%{_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
--libdir=%{_libdir} \
|
||||
|
Loading…
Reference in New Issue
Block a user