summaryrefslogtreecommitdiffstats
path: root/games/xsoldier/files/patch-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/xsoldier/files/patch-main.c')
-rw-r--r--games/xsoldier/files/patch-main.c22
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 0000000..23c46a3
--- /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++;
+ }
OpenPOWER on IntegriCloud