1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Don't try to clobber ccos(3).

This commit is contained in:
Adam Weinberger 2014-08-09 03:53:18 +00:00
parent 199f31fa55
commit e15082b844
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364395

31
cad/z88/files/patch-ccos Normal file
View File

@ -0,0 +1,31 @@
--- cosm88.c.orig 2014-08-08 23:50:40.000000000 -0400
+++ cosm88.c 2014-08-08 23:51:03.000000000 -0400
@@ -71,7 +71,7 @@
extern FR_INT4 ICFLAG,LANG;
-extern char ccos[];
+extern char ccosfile[];
extern char ci1[];
extern char ci2[];
extern char ci3[];
@@ -109,7 +109,7 @@
/*----------------------------------------------------------------------
* COSMOS- File oeffnen
*---------------------------------------------------------------------*/
-if((fpro= fopen(ccos,"r"))== NULL)
+if((fpro= fopen(ccosfile,"r"))== NULL)
{
wlog88g(0,LOG_NOCOS);
fclose(fwlo);
--- z88g.c.orig 2014-08-08 23:50:50.000000000 -0400
+++ z88g.c 2014-08-08 23:51:18.000000000 -0400
@@ -89,7 +89,7 @@
char cdyn[8] = "z88.dyn";
char clgd[9] = "z88g.log";
-char ccos[9] = "z88g.cos";
+char ccosfile[9] = "z88g.cos";
char cnas[9] = "z88g.nas";
char cin[8] = "z88g.in";
char ci1[10] = "z88i1.txt";