Sat Dec 17 14:23:55 2016 UTC ()
Deal with Jasper's dependency on the limit macros.


(joerg)
diff -r1.24 -r1.25 pkgsrc/graphics/libraw/Makefile

cvs diff -r1.24 -r1.25 pkgsrc/graphics/libraw/Makefile (expand / switch to context diff)
--- pkgsrc/graphics/libraw/Makefile 2016/06/19 05:04:57 1.24
+++ pkgsrc/graphics/libraw/Makefile 2016/12/17 14:23:55 1.25
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2016/06/19 05:04:57 markd Exp $
+# $NetBSD: Makefile,v 1.25 2016/12/17 14:23:55 joerg Exp $
 
 DISTNAME=	LibRaw-0.17.2
 PKGNAME=	${DISTNAME:tl}
@@ -20,6 +20,9 @@
 
 PKGCONFIG_OVERRIDE+=	libraw.pc.in
 PKGCONFIG_OVERRIDE+=	libraw_r.pc.in
+
+# jasper uses SIZE_MAX and friends in its headers.
+CPPFLAGS+=	-D__STDC_LIMIT_MACROS
 
 .include "../../graphics/jasper/buildlink3.mk"
 .include "../../graphics/lcms2/buildlink3.mk"