svn commit: r458571 - head/math/rocs
Raphael Kubo da Costa
rakuco at FreeBSD.org
Tue Jan 9 20:53:25 UTC 2018
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>
More information about the svn-ports-all
mailing list