diff options
author | Steve Price <steve@FreeBSD.org> | 1999-09-20 02:07:43 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-09-20 02:07:43 +0000 |
commit | f392532992c0b9e24acee4a9ff08cea98395ee9a (patch) | |
tree | f95259fa2df063a561b7f0d1279764a68f951528 | |
parent | byte_swap_{long,word} don't exist on FreeBSD/Alpha so accept the default (diff) |
s/chtype/chartype/g so this builds on FreeBSD/Alpha too.
Notes
Notes:
svn path=/head/; revision=21803
Diffstat (limited to '')
-rw-r--r-- | games/empire/files/patch-ab | 11 | ||||
-rw-r--r-- | games/empire/files/patch-ac | 38 | ||||
-rw-r--r-- | games/empire/files/patch-ad | 9 |
3 files changed, 58 insertions, 0 deletions
diff --git a/games/empire/files/patch-ab b/games/empire/files/patch-ab new file mode 100644 index 000000000000..131bd102e43d --- /dev/null +++ b/games/empire/files/patch-ab @@ -0,0 +1,11 @@ +--- empire.h.orig Sat Sep 18 18:34:59 1999 ++++ empire.h Sat Sep 18 18:35:39 1999 +@@ -25,7 +25,7 @@ + #ifndef SYSV + #define memcpy(dst,src,len) bcopy((src),(dst),(len)) + #define strchr(s,c) index(s,c) +-typedef char chtype; ++typedef char chartype; + #define beep() (putchar('\7')) + #define napms(d) (usleep((d)*1000)) + #else diff --git a/games/empire/files/patch-ac b/games/empire/files/patch-ac new file mode 100644 index 000000000000..32f69e475a68 --- /dev/null +++ b/games/empire/files/patch-ac @@ -0,0 +1,38 @@ +--- display.c.orig Sat Sep 18 18:35:53 1999 ++++ display.c Sat Sep 18 18:36:16 1999 +@@ -236,7 +236,7 @@ + for (r = 0; jnkbuf[r] != '\0'; r++) { + if (r+NUMTOPS >= MAP_HEIGHT) break; + (void) move (r+NUMTOPS, cols-NUMSIDES+4); +- (void) addch ((chtype)jnkbuf[r]); ++ (void) addch ((chartype)jnkbuf[r]); + } + } + +@@ -278,7 +278,7 @@ + break; + } + #endif /* A_COLOR */ +- (void) addch ((chtype)vp->contents); ++ (void) addch ((chartype)vp->contents); + #ifdef A_COLOR + attrset(0); + attron(COLOR_PAIR(COLOR_WHITE)); +@@ -420,7 +420,7 @@ + cell = vmap[row_col_loc(r,c)].contents; + + (void) move (row/row_inc + NUMTOPS, col/col_inc); +- (void) addch ((chtype)cell); ++ (void) addch ((chartype)cell); + } + + /* +@@ -498,7 +498,7 @@ + print_zoom_cell (vmap, row, col, row_inc, col_inc); + else { + (void) move (row/row_inc + NUMTOPS, col/col_inc); +- (void) addch ((chtype)cell); ++ (void) addch ((chartype)cell); + } + } + diff --git a/games/empire/files/patch-ad b/games/empire/files/patch-ad new file mode 100644 index 000000000000..6e53d48566cb --- /dev/null +++ b/games/empire/files/patch-ad @@ -0,0 +1,9 @@ +--- game.c.orig Sat Sep 18 18:36:29 1999 ++++ game.c Sat Sep 18 18:36:40 1999 +@@ -850,5 +850,5 @@ + cell = mbuf[row_col_loc(r,c)]; + + (void) move (row/row_inc + NUMTOPS, col/col_inc); +- (void) addch ((chtype)cell); ++ (void) addch ((chartype)cell); + } |