pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics jasper fallout.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e071a5462f1
branches:  trunk
changeset: 356255:4e071a5462f1
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Dec 24 00:00:06 2016 +0000

description:
jasper fallout.

diffstat:

 graphics/opencv-contrib-face/Makefile |  5 ++++-
 graphics/opencv/Makefile              |  5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 63991b3cac54 -r 4e071a5462f1 graphics/opencv-contrib-face/Makefile
--- a/graphics/opencv-contrib-face/Makefile     Fri Dec 23 23:19:22 2016 +0000
+++ b/graphics/opencv-contrib-face/Makefile     Sat Dec 24 00:00:06 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/03/29 10:08:08 markd Exp $
+# $NetBSD: Makefile,v 1.7 2016/12/24 00:00:06 markd Exp $
 
 DISTNAME=      opencv_contrib-3.1.0
 PKGNAME=       ${DISTNAME:S/_contrib/-contrib-face/}
@@ -34,6 +34,9 @@
 CXXFLAGS+=             -std=c++11
 .endif
 
+# jasper uses SIZE_MAX and friends in its headers.
+CXXFLAGS+=             -D__STDC_LIMIT_MACROS
+
 CMAKE_ARGS+=           -DZLIB_ROOT=${BUILDLINK_PREFIX.zlib}
 CMAKE_ARGS.SunOS+=     -DENABLE_PRECOMPILED_HEADERS=NO
 CMAKE_ARGS+=           -DWITH_EIGEN=NO
diff -r 63991b3cac54 -r 4e071a5462f1 graphics/opencv/Makefile
--- a/graphics/opencv/Makefile  Fri Dec 23 23:19:22 2016 +0000
+++ b/graphics/opencv/Makefile  Sat Dec 24 00:00:06 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2016/08/17 00:06:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.65 2016/12/24 00:00:06 markd Exp $
 
 DISTNAME=      opencv-3.1.0
 PKGREVISION=   2
@@ -42,6 +42,9 @@
 
 CONFIGURE_ENV+=                MACHINE_ARCH=${MACHINE_ARCH}
 
+# jasper uses SIZE_MAX and friends in its headers.
+CXXFLAGS+=             -D__STDC_LIMIT_MACROS
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/jasper/buildlink3.mk"
 .include "../../graphics/libwebp/buildlink3.mk"



Home | Main Index | Thread Index | Old Index