pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/osg Fix Jasper fallout.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f48125f184ea
branches:  trunk
changeset: 356208:f48125f184ea
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 22 11:37:33 2016 +0000

description:
Fix Jasper fallout.

diffstat:

 graphics/osg/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r cedb7abe1763 -r f48125f184ea graphics/osg/Makefile
--- a/graphics/osg/Makefile     Thu Dec 22 11:37:18 2016 +0000
+++ b/graphics/osg/Makefile     Thu Dec 22 11:37:33 2016 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index