diff options
author | steve <steve@FreeBSD.org> | 1999-09-20 02:07:43 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-09-20 02:07:43 +0000 |
commit | f1b196dd92f2b40bc75f424965663bddf4d9fe54 (patch) | |
tree | 057c900fb27f58071bb4663dd129d146ed882fb8 /games | |
parent | 289bfdd3edcf7781a9e80b7be4f50c94bb56b276 (diff) | |
download | FreeBSD-ports-f1b196dd92f2b40bc75f424965663bddf4d9fe54.zip FreeBSD-ports-f1b196dd92f2b40bc75f424965663bddf4d9fe54.tar.gz |
s/chtype/chartype/g so this builds on FreeBSD/Alpha too.
Diffstat (limited to 'games')
-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 0000000..131bd10 --- /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 0000000..32f69e4 --- /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 0000000..6e53d48 --- /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); + } |