pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11 Help Jasper finding the limit macros.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7df92d8a03dc
branches:  trunk
changeset: 356022:7df92d8a03dc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 17 14:19:27 2016 +0000

description:
Help Jasper finding the limit macros.

diffstat:

 x11/kdelibs3/Makefile |  5 ++++-
 x11/kdelibs4/Makefile |  5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 55e45a2b5370 -r 7df92d8a03dc x11/kdelibs3/Makefile
--- a/x11/kdelibs3/Makefile     Sat Dec 17 14:19:00 2016 +0000
+++ b/x11/kdelibs3/Makefile     Sat Dec 17 14:19:27 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.188 2016/12/03 22:05:08 maya Exp $
+# $NetBSD: Makefile,v 1.189 2016/12/17 14:19:27 joerg Exp $
 
 DISTNAME=      kdelibs-${_KDE_VERSION}
 PKGREVISION=   40
@@ -69,6 +69,9 @@
 # so force this as configure gets this wrong on Solaris 9
 CONFIGURE_ENV.SunOS+= ac_cv_lib_bzip2='no'
 
+# jasper uses SIZE_MAX and friends in its headers.
+CPPFLAGS+=     -D__STDC_LIMIT_MACROS
+
 .include "options.mk"
 
 PLIST_VARS+=           kded
diff -r 55e45a2b5370 -r 7df92d8a03dc x11/kdelibs4/Makefile
--- a/x11/kdelibs4/Makefile     Sat Dec 17 14:19:00 2016 +0000
+++ b/x11/kdelibs4/Makefile     Sat Dec 17 14:19:27 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2016/10/07 18:25:36 adam Exp $
+# $NetBSD: Makefile,v 1.87 2016/12/17 14:19:27 joerg Exp $
 
 DISTNAME=      kdelibs-4.14.15
 PKGNAME=       ${DISTNAME:S/-4/4-4/}
@@ -89,6 +89,9 @@
 CFLAGS.SunOS+=         -D__EXTENSIONS__
 LDFLAGS.SunOS+=                -lintl
 
+# jasper uses SIZE_MAX and friends in its headers.
+CXXFLAGS+=     -D__STDC_LIMIT_MACROS
+
 BUILDLINK_DEPMETHOD.qt4-tools=         full
 .include "../../meta-pkgs/kde4/kde4.mk"
 



Home | Main Index | Thread Index | Old Index