ports/print/ghostscript7/files/patch-src:gdevdmpr.c
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

11 lines
387 B
C

--- src/gdevdmpr.c.orig Tue May 13 20:43:37 1997
+++ src/gdevdmpr.c Tue Apr 2 01:16:25 2002
@@ -846,7 +846,7 @@
if (env) {
strcpy(fname,env);
strcat(fname,
- gp_file_name_concat_string(env,strlen(env),fname,strlen(fnamebase)));
+ gp_file_name_concat_string(env,strlen(env)));
strcat(fname,fnamebase);
fp = fopen(fname,gp_fmode_rb);
}