freebsd-ports/japanese/vfghostscript/files/patch-ab
Satoshi Asami 1b74cf16d6 Japanese ghostscirpt with vector font support.
Submitted by:	Mita Yoshio <mita@jp.FreeBSD.org>
1996-11-02 12:12:52 +00:00

27 lines
883 B
Text

*** zkfvflib.c.orig Tue May 14 18:13:36 1996
--- zkfvflib.c Tue May 14 18:14:27 1996
***************
*** 172,182 ****
for (code=0;code<256;code++)
hash_index[code] = NULL;
! pfcap = getenv("VFONTCAP");
if (pfcap == NULL) { /* environment variable VFONTCAP is not set. */
char *pfcapb = VFONTCAP_BASE;
! pfcap = malloc(MAXPATHLEN+3);
if (pfcap == NULL) return e_VMerror;
if (!access(pfcapb,0)) { /* found on current directory. */
--- 172,182 ----
for (code=0;code<256;code++)
hash_index[code] = NULL;
! pfcap = (char *)getenv("VFONTCAP");
if (pfcap == NULL) { /* environment variable VFONTCAP is not set. */
char *pfcapb = VFONTCAP_BASE;
! pfcap = (char *)malloc(MAXPATHLEN+3);
if (pfcap == NULL) return e_VMerror;
if (!access(pfcapb,0)) { /* found on current directory. */