svn commit: r483761 - in head/games/blokish: . files
Mark Linimon
linimon at FreeBSD.org
Fri Nov 2 01:46:26 UTC 2018
Author: linimon
Date: Fri Nov 2 01:46:24 2018
New Revision: 483761
URL: https://svnweb.freebsd.org/changeset/ports/483761
Log:
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)
Added:
head/games/blokish/files/
head/games/blokish/files/patch-src_ai.cpp (contents, props changed)
Modified:
head/games/blokish/Makefile
Modified: head/games/blokish/Makefile
==============================================================================
--- head/games/blokish/Makefile Fri Nov 2 01:39:56 2018 (r483760)
+++ head/games/blokish/Makefile Fri Nov 2 01:46:24 2018 (r483761)
@@ -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
Added: head/games/blokish/files/patch-src_ai.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/blokish/files/patch-src_ai.cpp Fri Nov 2 01:46:24 2018 (r483761)
@@ -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)
More information about the svn-ports-all
mailing list