1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
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

28 lines
883 B
Plaintext

*** 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. */