summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/osg/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index 6efcccedc13..d2349b0ee39 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2016/10/09 21:41:59 wiz Exp $
+# $NetBSD: Makefile,v 1.65 2016/12/22 11:37:33 joerg Exp $
DISTNAME= OpenSceneGraph-3.0.1
PKGNAME= osg-3.0.1
@@ -24,6 +24,9 @@ PLIST_VARS+= quartz x11
.include "../../mk/bsd.prefs.mk"
+# jasper uses SIZE_MAX and friends in its headers.
+CXXFLAGS+= -D__STDC_LIMIT_MACROS
+
.if ${OPSYS} == "Darwin"
PLIST.quartz= yes
.else