aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-12-17 17:40:50 +0800
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-12-17 17:40:50 +0800
commit34660318fcb5a8e8f6edb638d4f5517c9c1c517f (patch)
tree0425ab90a1cce4cc95f68732b3d65a57254aa04c /graphics
parent7622850e496ff2fc9ed6b4c74351f3ff0f3256b6 (diff)
downloadfreebsd-ports-gnome-34660318fcb5a8e8f6edb638d4f5517c9c1c517f.tar.gz
freebsd-ports-gnome-34660318fcb5a8e8f6edb638d4f5517c9c1c517f.tar.zst
freebsd-ports-gnome-34660318fcb5a8e8f6edb638d4f5517c9c1c517f.zip
graphics/osg: fix build on GCC architectures
Base GCC can't build osg after the last upgrade: /wrkdirs/usr/ports/graphics/osg/work/OpenSceneGraph-OpenSceneGraph-3.6.4/src/osgPlugins/tga/ReaderWriterTGA.cpp:328: error: only declarations of constructors can be 'explicit'
Diffstat (limited to 'graphics')
-rw-r--r--graphics/osg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index 82e062489bb2..10c12401aace 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -24,7 +24,7 @@ GH_PROJECT= OpenSceneGraph
CONFLICTS= osg34-[0-9]*
-USES= alias cmake jpeg gl localbase pkgconfig xorg
+USES= alias cmake compiler:c11 jpeg gl localbase pkgconfig xorg
USE_GL= gl
USE_XORG= x11
USE_LDCONFIG= yes