mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
- Fix build with clang - Add MAKE_JOBS_SAFE - Reformat pkg-descr PR: 175592 Submitted by: Ports Fury
16 lines
260 B
C
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);
|
|
}
|
|
|