summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-larn_diag.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2009-11-14 12:33:33 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2009-11-14 12:33:33 +0000
commitcc415305a049ca523f2a8cf674009fa77c54fee6 (patch)
tree6cf30da0266c6ffa712f243cc23f3c1b5c4a4fb8 /games/bsdgames/files/patch-larn_diag.c
parent- Now fix to use this port on !i386. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_8_0_0'.release/8.0.0
Notes
Notes: svn path=/head/; revision=244256 svn path=/tags/RELEASE_8_0_0/; revision=244257; tag=release/8.0.0
Diffstat (limited to 'games/bsdgames/files/patch-larn_diag.c')
-rw-r--r--games/bsdgames/files/patch-larn_diag.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/games/bsdgames/files/patch-larn_diag.c b/games/bsdgames/files/patch-larn_diag.c
deleted file mode 100644
index 0129c5e747fe..000000000000
--- a/games/bsdgames/files/patch-larn_diag.c
+++ /dev/null
@@ -1,31 +0,0 @@
-$FreeBSD: /tmp/pcvs/ports/games/bsdgames/files/Attic/patch-larn_diag.c,v 1.1 2007-03-23 23:02:33 nox Exp $
-
---- larn/diag.c 17 Jun 2003 04:25:24 -0000 1.2
-+++ larn/diag.c 21 Jun 2004 02:28:34 -0000 1.3
-@@ -210,7 +210,7 @@
- if (beenhere[k])
- lrfill((char*)&cell[k*MAXX*MAXY],sizeof(struct cel)*MAXY*MAXX);
-
-- lrfill((char*)&c[0],100*sizeof(long)); gtime = lrint();
-+ lrfill((char*)&c[0],100*sizeof(long)); gtime = lrint_x();
- level = c[CAVELEVEL] = lgetc();
- playerx = lgetc(); playery = lgetc();
- lrfill((char*)iven,26); lrfill((char*)ivenarg,26*sizeof(short));
-@@ -241,7 +241,7 @@
- }
-
- time(&zzz);
-- initialtime = zzz-lrint();
-+ initialtime = zzz-lrint_x();
- fstat(fd,&filetimes); /* get the creation and modification time of file */
- lrfill((char*)&zzz,sizeof(long)); zzz += 6;
- if (filetimes.st_ctime > zzz) fsorry(); /* file create time */
-@@ -249,7 +249,7 @@
- if (c[HP]<0) { died(284); return; } /* died a post mortem death */
-
- oldx = oldy = 0;
-- i = lrint(); /* inode # */
-+ i = lrint_x(); /* inode # */
- if (i && (filetimes.st_ino!=i)) fsorry();
- lrclose();
- if (strcmp(fname,ckpfile) == 0)