svn commit: r447397 - head/graphics/pfstmo

Raphael Kubo da Costa rakuco at FreeBSD.org
Sat Aug 5 10:36:06 UTC 2017


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>


More information about the svn-ports-all mailing list