summaryrefslogtreecommitdiff
path: root/graphics/libraw
diff options
context:
space:
mode:
authorjoerg <joerg>2016-12-17 14:23:55 +0000
committerjoerg <joerg>2016-12-17 14:23:55 +0000
commit1a8eb23fab2c2ba9e131f6c2a72b68e4a6993694 (patch)
tree86db61b03224bdf80663a47af0ab4d44446256d6 /graphics/libraw
parent311d4801f9553120523477df5f795da6644a21ee (diff)
downloadpkgsrc-1a8eb23fab2c2ba9e131f6c2a72b68e4a6993694.tar.gz
Deal with Jasper's dependency on the limit macros.
Diffstat (limited to 'graphics/libraw')
-rw-r--r--graphics/libraw/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/libraw/Makefile b/graphics/libraw/Makefile
index 6628eb23335..c15a7790690 100644
--- a/graphics/libraw/Makefile
+++ b/graphics/libraw/Makefile
@@ -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}
@@ -21,6 +21,9 @@ CONFIGURE_ARGS+= --disable-demosaic-pack-gpl3
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"
.include "../../mk/jpeg.buildlink3.mk"