[MacPorts] #50475: ghostscript needs font handling fix for PR696554
MacPorts
noreply at macports.org
Fri Jan 29 05:55:59 PST 2016
#50475: ghostscript needs font handling fix for PR696554
-----------------------------------+--------------------------------
Reporter: howarth.at.macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: ghostscript
-----------------------------------+--------------------------------
A font handling bug, only exposed on darwin so far, has been reported
upstream...
http://bugs.ghostscript.com/show_bug.cgi?id=696554
and the followed fix found and committed upstream.
{{{
--- Resource/Init/gs_fonts.ps.orig 2016-01-29 08:29:46.000000000
-0500
+++ Resource/Init/gs_fonts.ps 2016-01-29 08:17:32.000000000 -0500
@@ -183,7 +183,7 @@
} if
{ % Stack: key file
% Protect ourselves against syntax errors here.
- dup { token } stopped { pop //false exit } if
+ dup { token } stopped { //false exit } if
not { //false exit } if % end of file
dup /eexec eq { pop //false exit } if % reached eexec section
dup /Subrs eq { pop //false exit } if % Subrs without eexec
@@ -410,7 +410,7 @@
pop
}
{
- 3 -1 roll pop
+ counttomark 1 add -1 roll pop
not { dup 0 get } if % stack: (newname) [ (name) (path) ]
% DEBUG { ( found ) print dup print (\n) print flush } if
% add entry to the fontmap
}}}
The attached Portfile.diff and PR696554.diff fixes this issue.
--
Ticket URL: <https://trac.macports.org/ticket/50475>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list