1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

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
This commit is contained in:
Raphael Kubo da Costa 2018-01-09 20:53:24 +00:00
parent bd166fa1a3
commit 1e962ef33d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458571

View File

@ -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>