Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2017 10:36:04 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447397 - head/graphics/pfstmo
Message-ID:  <201708051036.v75Aa4Kt067454@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sat Aug  5 10:36:04 2017
New Revision: 447397
URL: https://svnweb.freebsd.org/changeset/ports/447397

Log:
  Explicitly build with -std=gnu++03.
  
  This was the default for GCC until version 6, which switched to -std=gnu++14.
  This project is unmaintained upstream and it is not worth fixing the code
  instead of just building with the standard it's always worked with.
  
  PR:		219299
  Approved by:	portmgr (blanket approval)

Modified:
  head/graphics/pfstmo/Makefile

Modified: head/graphics/pfstmo/Makefile
==============================================================================
--- head/graphics/pfstmo/Makefile	Sat Aug  5 10:31:01 2017	(r447396)
+++ head/graphics/pfstmo/Makefile	Sat Aug  5 10:36:04 2017	(r447397)
@@ -26,5 +26,8 @@ CONFIGURE_ENV+=	CPPFLAGS="${PFS_CPPFLAGS} ${DEBUG_FLAG
 		LDFLAGS="${PFS_LDFLAGS}"
 
 USES=		gmake pkgconfig compiler:openmp
+# GCC 6 defaults to -std=gnu++14, and the port does not build with C++11 or
+# later (bug 219299).
+USE_CXXSTD=	gnu++03
 
 .include <bsd.port.mk>



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