summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-lib:ps2epsi
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl/files/patch-lib:ps2epsi')
-rw-r--r--print/ghostscript-gpl/files/patch-lib:ps2epsi27
1 files changed, 27 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-lib:ps2epsi b/print/ghostscript-gpl/files/patch-lib:ps2epsi
new file mode 100644
index 000000000000..06389642bb93
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-lib:ps2epsi
@@ -0,0 +1,27 @@
+--- lib/ps2epsi.orig Sat Jun 23 01:09:22 2001
++++ lib/ps2epsi Tue Apr 23 05:18:24 2002
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-# $Id: ps2epsi,v 1.7 2001/06/22 16:09:22 lpd Exp $
++# $Id: ps2epsi,v 1.7.2.1 2002/04/22 20:18:24 giles Exp $
+
+ tmpfile=/tmp/ps2epsi$$
+
+@@ -58,7 +58,8 @@
+ cat << BEGINEPS
+ save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def
+ %%EndProlog
+-%%Page 1 1
++%%Page: 1 1
++%%BeginDocument: ${infile}
+ BEGINEPS
+
+ cat "${infile}" |
+@@ -66,6 +67,7 @@
+ -e '/^%%[A-Za-z][A-Za-z]*[^!-~]*$/d' -e '/^%%[A-Za-z][A-Za-z]*: /d'
+
+ cat << ENDEPS
++%%EndDocument
+ %%Trailer
+ cleartomark countdictstack exch sub { end } repeat restore
+ %%EOF