diff options
Diffstat (limited to 'games/yahtzee/files/patch-ac')
-rw-r--r-- | games/yahtzee/files/patch-ac | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/games/yahtzee/files/patch-ac b/games/yahtzee/files/patch-ac index 0b6f7679e4e5..c5c96b2893a6 100644 --- a/games/yahtzee/files/patch-ac +++ b/games/yahtzee/files/patch-ac @@ -1,5 +1,5 @@ ---- main.c.orig Sat Jan 25 19:41:13 1992 -+++ main.c Fri Jul 4 13:39:01 1997 +--- main.c.orig Sat Jan 25 17:41:13 1992 ++++ main.c Thu Nov 6 18:12:58 2003 @@ -12,7 +12,7 @@ * (c)1992 by orest zborowski */ @@ -9,6 +9,33 @@ extern errno; +@@ -138,7 +138,7 @@ + + initscr(); + if (LINES < 23) +- abort("Not enough lines on the terminal"); ++ _abort("Not enough lines on the terminal"); + numlines = LINES; + clear(); + mvaddstr(0, 9, header); +@@ -156,7 +156,7 @@ + endwin(); + } + +-abort(char *msg) ++_abort(char *msg) + { + yend(); + putchar('\n'); +@@ -278,7 +278,7 @@ + int j; + + if (num < 1 || num > 5) +- abort("Bad dice loc passed"); ++ _abort("Bad dice loc passed"); + + for (j = 0; j < 1; ++j) + { @@ -820,6 +820,7 @@ int i; int topscore; |