Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2019 20:09:26 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507021 - head/games/diameter
Message-ID:  <201907202009.x6KK9QLC081952@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Jul 20 20:09:25 2019
New Revision: 507021
URL: https://svnweb.freebsd.org/changeset/ports/507021

Log:
  games/diameter: fix build on GCC architectures
  
  C++11 compiler is required:
  res/3dsloader.cpp:77: error: 'nullptr' was not declared in this scope
  
  Approved by:	mentors (implicit approval)

Modified:
  head/games/diameter/Makefile

Modified: head/games/diameter/Makefile
==============================================================================
--- head/games/diameter/Makefile	Sat Jul 20 20:06:26 2019	(r507020)
+++ head/games/diameter/Makefile	Sat Jul 20 20:09:25 2019	(r507021)
@@ -16,7 +16,7 @@ BROKEN_armv7=		fails to compile: res/3dsloader.cpp:77:
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libguichan.so:devel/guichan
 
-USES=		dos2unix tar:bzip2 gmake pkgconfig python:2.7
+USES=		compiler:c++11-lang dos2unix tar:bzip2 gmake pkgconfig python:2.7
 DOS2UNIX_FILES=	src/res/3dsloader.cpp
 GNU_CONFIGURE=	yes
 USE_GL=		gl glu



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