diff --git a/games/xdino/patches/patch-DinoU_c b/games/xdino/patches/patch-DinoU_c new file mode 100644 index 00000000000..4f7f1235f17 --- /dev/null +++ b/games/xdino/patches/patch-DinoU_c @@ -0,0 +1,21 @@ +$OpenBSD: patch-DinoU_c,v 1.1 2002/02/20 22:53:01 pvalchev Exp $ +--- DinoU.c.orig Thu Jul 29 12:58:51 1999 ++++ DinoU.c Wed Feb 20 15:48:10 2002 +@@ -199,7 +199,7 @@ void + ScanMoves(FILE * fp, DinoWidget w, int moves) + { + int face, position, direction, style, control, k; +- char c; ++ int c; + + for (k = 0; k < moves; k++) { + while ((c = getc(fp)) != EOF && c != SYMBOL); +@@ -228,7 +228,7 @@ void + ScanStartPosition(FILE * fp, DinoWidget w) + { + int face, position, num; +- char c; ++ int c; + + while ((c = getc(fp)) != EOF && c != SYMBOL); + for (face = 0; face < MAXFACES; face++) diff --git a/games/xdino/patches/patch-Dino_c b/games/xdino/patches/patch-Dino_c new file mode 100644 index 00000000000..bae9dcec658 --- /dev/null +++ b/games/xdino/patches/patch-Dino_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-Dino_c,v 1.1 2002/02/20 22:53:01 pvalchev Exp $ +--- Dino.c.orig Thu Jul 29 12:58:51 1999 ++++ Dino.c Wed Feb 20 15:47:53 2002 +@@ -483,7 +483,7 @@ void + GetDino(DinoWidget w, XEvent * event, char **args, int nArgs) + { + FILE *fp; +- char c; ++ int c; + int mode, orient, practice, moves; + dinoCallbackStruct cb; +