Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2018 20:53:24 +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: r458571 - head/math/rocs
Message-ID:  <201801092053.w09KrOeA098432@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Tue Jan  9 20:53:24 2018
New Revision: 458571
URL: https://svnweb.freebsd.org/changeset/ports/458571

Log:
  Explicitly build with -std=gnu++98
  
  clang 6.0 will default to -std=gnu++14, which breaks the build:
  
      /wrkdirs/usr/ports/math/rocs/work/rocs-4.14.3/VisualEditor/Actions/SelectMoveHandAction.cpp:86:52: error: no viable conversion from 'int' to 'QPainter::RenderHints' (aka 'QFlags<QPainter::RenderHint>')
              _graphScene->views().at(0)->setRenderHints(QPainter::Antialiasing
  
  PR:		224945

Modified:
  head/math/rocs/Makefile

Modified: head/math/rocs/Makefile
==============================================================================
--- head/math/rocs/Makefile	Tue Jan  9 20:51:38 2018	(r458570)
+++ head/math/rocs/Makefile	Tue Jan  9 20:53:24 2018	(r458571)
@@ -16,4 +16,9 @@ USE_QT4=	gui qtestlib script scripttools webkit xml \
 		moc_build qmake_build rcc_build uic_build
 USE_LDCONFIG=	yes
 
+# clang 6.0 defaults to -std=gnu++14, which breaks the build:
+# /wrkdirs/usr/ports/math/rocs/work/rocs-4.14.3/VisualEditor/Actions/SelectMoveHandAction.cpp:86:52: error: no viable conversion from 'int' to 'QPainter::RenderHints' (aka 'QFlags<QPainter::RenderHint>')
+#         _graphScene->views().at(0)->setRenderHints(QPainter::Antialiasing
+USE_CXXSTD=	gnu++98
+
 .include <bsd.port.mk>



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