make in /usr/doc

Hiroki Sato hrs at FreeBSD.org
Mon Nov 17 16:36:43 UTC 2003


Dmitry Morozovsky <marck at rinet.ru> wrote
  in <20031109151006.G85714 at woozle.rinet.ru>:

marck> especially in situation where you can't have both version of gs without "dirty
marck> magic"

 Try the attached patch.  This is for ${PREFIX}/bin/ps2epsi.

-- 
| Hiroki SATO

--- ps2epsi.orig	Tue Nov 18 01:28:54 2003
+++ ps2epsi	Tue Nov 18 01:28:42 2003
@@ -51,7 +51,7 @@
 		}
 	' U="$USERNAME$LOGNAME"  F=1 - F=2 "${infile}" >$tmpfile
 
-gs -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null $tmpfile ps2epsi.ps $tmpfile <"${infile}" 1>&2
+gs -q -dNOPAUSE -dSAFER -dDELAYSAFER -sPAPERSIZE=letter -r72 -sDEVICE=bit -sOutputFile=/dev/null $tmpfile ps2epsi.ps $tmpfile <"${infile}" 1>&2
 rm -f $tmpfile
 
 (
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20031118/ec26aed4/attachment.sig>


More information about the freebsd-doc mailing list