Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 01:46:25 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483761 - in head/games/blokish: . files
Message-ID:  <201811020146.wA21kPiS042920@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811020146.wA21kPiS042920>