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)
This commit is contained in:
parent
532dfd0b5b
commit
f9206ba04d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483761
@ -15,7 +15,7 @@ LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake localbase tar:tgz
|
||||
USES= compiler:c++11-lang gl gmake localbase tar:tgz
|
||||
USE_GL= gl
|
||||
USE_WX= 2.8
|
||||
|
||||
|
11
games/blokish/files/patch-src_ai.cpp
Normal file
11
games/blokish/files/patch-src_ai.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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)
|
Loading…
Reference in New Issue
Block a user