diff options
Diffstat (limited to 'games/xsoldier/files/patch-main.c')
-rw-r--r-- | games/xsoldier/files/patch-main.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games/xsoldier/files/patch-main.c b/games/xsoldier/files/patch-main.c new file mode 100644 index 000000000000..23c46a399602 --- /dev/null +++ b/games/xsoldier/files/patch-main.c @@ -0,0 +1,22 @@ + +$FreeBSD$ + +--- main.c.orig ++++ main.c +@@ -33,7 +33,6 @@ + /* DeleteAllStar */ + #include "star.h" + #include "score.h" +-#include "wait.h" + #include "graphic.h" + #include "input.h" + +@@ -175,7 +174,7 @@ + i + 1); + display[sizeof(display) - 1] = '\0'; + fprintf(stderr, "truncated to %d chars\n", +- sizeof(display) - 1); ++ (int)sizeof(display) - 1); + } + i++; + } |