ports/print/ghostscript7/files/patch-lib:gs_res.ps
Hiroki Sato 045633a1b8 Resurrect print/ghostscript7*. Ghostscript 7.x is incompatible with 8.x
and 9.x in terms of CJK character support and they are still in demand.
While I am here, the following changes have been added:

- Add LICENSE.
- Use OPTIONS_DEFINE for ghostscript drivers.
- Add MAKE_JOBS_SAFE=yes.

Discussed with:	bapt
2013-04-29 20:12:16 +00:00

14 lines
595 B
PostScript

--- lib/gs_res.ps.orig Mon Jul 16 01:09:41 2001
+++ lib/gs_res.ps Fri Feb 8 07:12:09 2002
@@ -248,8 +248,8 @@
/pssystemparams 10 dict readonly def
} if
pssystemparams begin
- /FontResourceDir (/Resource/Font/) readonly .forcedef % pssys'params is r-o
- /GenericResourceDir (/Resource/) readonly .forcedef % pssys'params is r-o
+ /FontResourceDir (%%DATADIR%%/Resource/Font/) readonly .forcedef % pssys'params is r-o
+ /GenericResourceDir (%%DATADIR%%/Resource/) readonly .forcedef % pssys'params is r-o
/GenericResourcePathSep (/) readonly .forcedef % pssys'params is r-o
end
end