Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2020 14:25:29 +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: r544170 - head/graphics/ftgl
Message-ID:  <202008041425.074EPT3r006415@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Aug  4 14:25:29 2020
New Revision: 544170
URL: https://svnweb.freebsd.org/changeset/ports/544170

Log:
  graphics/ftgl: fix build on GCC architectures
  
  Use C++11 compiler:
  ./FTGL/FTLibrary.h:137: error: ISO C++ forbids declaration of 'atomic' with no type

Modified:
  head/graphics/ftgl/Makefile

Modified: head/graphics/ftgl/Makefile
==============================================================================
--- head/graphics/ftgl/Makefile	Tue Aug  4 13:45:50 2020	(r544169)
+++ head/graphics/ftgl/Makefile	Tue Aug  4 14:25:29 2020	(r544170)
@@ -18,7 +18,8 @@ LIB_DEPENDS=	libfreetype.so:print/freetype2
 USE_GITHUB=	yes
 GH_ACCOUNT=	frankheckenbach
 
-USES=		autoreconf gl pathfix gmake libtool pkgconfig xorg
+USES=		autoreconf compiler:c++11-lang gl pathfix gmake libtool \
+		pkgconfig xorg
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-gl-inc="${LOCALBASE}/include" \
 		--without-glut-inc



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