ports/games/xataxx/files/patch-board.c
Martin Wilke 6e00b2437a - Update MASTER_SITES
- Fix build with clang
- Add MAKE_JOBS_SAFE
- Reformat pkg-descr

PR:		175592
Submitted by:	Ports Fury
2013-02-04 14:26:51 +00:00

16 lines
260 B
C

--- 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);
}