pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b50f6e2bd21
branches:  trunk
changeset: 356279:4b50f6e2bd21
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Dec 25 12:42:52 2016 +0000

description:
Fix jasper fallout.

diffstat:

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

diffs (19 lines):

diff -r 3fb84206a85e -r 4b50f6e2bd21 graphics/opencv2/Makefile
--- a/graphics/opencv2/Makefile Sun Dec 25 12:09:09 2016 +0000
+++ b/graphics/opencv2/Makefile Sun Dec 25 12:42:52 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2016/08/17 00:06:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.6 2016/12/25 12:42:52 wiz Exp $
 
 DISTNAME=      opencv-2.4.11
 PKGREVISION=   3
@@ -27,6 +27,9 @@
 
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/a$//}
 
+# jasper uses SIZE_MAX and friends in its headers.
+CXXFLAGS+=     -D__STDC_LIMIT_MACROS
+
 # includes configure output and paths to gmake etc.
 CHECK_WRKREF_SKIP=     ${PREFIX}/lib/libopencv_core.*
 



Home | Main Index | Thread Index | Old Index