summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-lib:ps2epsi
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-27 18:21:21 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-27 18:21:21 +0000
commit86c37e0bf7207d64ddf53feb9a9d82023d3794b0 (patch)
treecb1df2eb1fc82bc43280020f1efb6f9b91ab9cf5 /print/ghostscript-gpl/files/patch-lib:ps2epsi
parentUpdate to 1.9 (diff)
- Update Gimp-Print driver to version 4.2.1
- Fix build on -current - Fix checksum of gdevdj9.c.gz (again) - Get much improved ps2epsi stuff from ghostscript-gnu version PR: 37500 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=58241
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