pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libraw Deal with Jasper's dependency on the l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6059bafae5a
branches:  trunk
changeset: 356028:d6059bafae5a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 17 14:23:55 2016 +0000

description:
Deal with Jasper's dependency on the limit macros.

diffstat:

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

diffs (19 lines):

diff -r 63fb54a79c4c -r d6059bafae5a graphics/libraw/Makefile
--- a/graphics/libraw/Makefile  Sat Dec 17 14:22:39 2016 +0000
+++ b/graphics/libraw/Makefile  Sat Dec 17 14:23:55 2016 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index