ports/games/blokish/files/patch-src_ai.cpp
Mark Linimon f9206ba04d This port needs USES=compiler:c++11-lang to build on GCC architectures.
To build with GCC, it also needs algorithm and sys/limits.h includes.

PR:		232863
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2018-11-02 01:46:24 +00:00

11 lines
219 B
C++

--- src/ai.cpp.orig 2018-10-31 18:46:12 UTC
+++ src/ai.cpp
@@ -22,6 +22,8 @@
/* This file is contains the AI logic.
*/
+#include <algorithm>
+#include <sys/limits.h>
#include "ai.h"
AI::AI(BlokishBoard &board)