diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-09 11:53:18 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-09 11:53:18 +0800 |
commit | 0fb7e44d44ef63dc8d6a61b026e01ba6e4655e4c (patch) | |
tree | 74eadbe8d4686fce72f5e4791057f194c58b3342 /cad/z88 | |
parent | addd3901ba22b07b6bb8f63259c1204232fa7fd5 (diff) | |
download | freebsd-ports-gnome-0fb7e44d44ef63dc8d6a61b026e01ba6e4655e4c.tar.gz freebsd-ports-gnome-0fb7e44d44ef63dc8d6a61b026e01ba6e4655e4c.tar.zst freebsd-ports-gnome-0fb7e44d44ef63dc8d6a61b026e01ba6e4655e4c.zip |
Don't try to clobber ccos(3).
Diffstat (limited to 'cad/z88')
-rw-r--r-- | cad/z88/files/patch-ccos | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cad/z88/files/patch-ccos b/cad/z88/files/patch-ccos new file mode 100644 index 000000000000..0645220af810 --- /dev/null +++ b/cad/z88/files/patch-ccos @@ -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"; |