diff --git a/ghostscript-ps2epsi-cr.patch b/ghostscript-ps2epsi-cr.patch new file mode 100644 index 0000000..79fd8b7 --- /dev/null +++ b/ghostscript-ps2epsi-cr.patch @@ -0,0 +1,14 @@ +diff -up ghostscript-8.71/lib/ps2epsi.ps.ps2epsi-cr ghostscript-8.71/lib/ps2epsi.ps +--- ghostscript-8.71/lib/ps2epsi.ps.ps2epsi-cr 2010-09-30 17:02:05.673891679 +0100 ++++ ghostscript-8.71/lib/ps2epsi.ps 2010-09-30 17:02:13.877891640 +0100 +@@ -193,8 +193,8 @@ ps2edict begin + epsifile (\n) writestring + epsifile flushfile + +- epsifile BBoxString writestring epsifile (\r) writestring +- epsifile HiresBBoxString writestring epsifile (\r) writestring ++ epsifile BBoxString writestring epsifile (\n) writestring ++ epsifile HiresBBoxString writestring epsifile (\n) writestring + + % Define character and bit widths for the output line buffer: + /cwidth rm lm sub 1 add def diff --git a/ghostscript.spec b/ghostscript.spec index 720eef5..04777bc 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -43,6 +43,7 @@ Patch24: ghostscript-epstopdf-failure.patch Patch25: ghostscript-bbox-close.patch Patch26: ghostscript-gdevcups-ripcache.patch Patch27: ghostscript-Fontmap.local.patch +Patch28: ghostscript-ps2epsi-cr.patch Requires: urw-fonts >= 1.1, ghostscript-fonts BuildRequires: xz @@ -204,6 +205,9 @@ rm -rf libpng zlib jpeg jasper # package manifest. %patch27 -p1 +# Don't use carriage return in ps2epsi output (bug #635786). +%patch28 -p1 -b .ps2epsi-cr + # Convert manual pages to UTF-8 from8859_1() { iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_" @@ -386,6 +390,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Thu Sep 30 2010 Tim Waugh 8.71-17 +- Don't use carriage return in ps2epsi output (bug #635786). - Include more documentation (bug #634354). * Mon Sep 13 2010 Tim Waugh 8.71-16