summaryrefslogtreecommitdiff
path: root/games/xataxx/files/patch-board.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-04 14:26:51 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-04 14:26:51 +0000
commit6e00b2437a5c3f01dcbbfa4a25e1a5c750c3fbf1 (patch)
treefb05702e81b0ea88c0d3803338b254a808634835 /games/xataxx/files/patch-board.c
parent- Update MASTER_SITES (diff)
- Update MASTER_SITES
- Fix build with clang - Add MAKE_JOBS_SAFE - Reformat pkg-descr PR: 175592 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=311619
Diffstat (limited to 'games/xataxx/files/patch-board.c')
-rw-r--r--games/xataxx/files/patch-board.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/xataxx/files/patch-board.c b/games/xataxx/files/patch-board.c
new file mode 100644
index 000000000000..6869030f5acd
--- /dev/null
+++ b/games/xataxx/files/patch-board.c
@@ -0,0 +1,16 @@
+--- board.c.orig
++++ board.c
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #include <X11/Xlib.h>
+ #include "struct.h"
+
+@@ -461,7 +462,7 @@
+ }
+ }
+ if (best_count==-1)
+- return;
++ return(0);
+ move_piece(best.ox,best.oy,best.nx,best.ny,player);
+ }
+