ghostscript 10.02 fails on eps2write -sPageList=1 (patch included)
Xfig is a diagramming tool
Brought to you by:
tklxfiguser
When upgrading to ghostscript 10.02 fig2dev fails when calling
gs -q -dSAFER -sDEVICE=eps2write -sPageList=1 -o - in.pdf
There seems to be an issue in the eps2write handler with the sPageList option (see https://bugs.debian.org/1052652).
As a workaround it may be a good idea to replace "-sPageList=1" by "-dFirstPage=1 -dLastPage=1"
The attached patch implements this workaround.
Fixed with commit [78961d].
Related
Commit: [78961d]
BTW: The root cause (in Ghostscript) was fixed in https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9b6fe6