pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/TECkit Allow narrowing of the data tables G...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4871620436d4
branches:  trunk
changeset: 369402:4871620436d4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Sep 29 13:32:01 2017 +0000

description:
Allow narrowing of the data tables GCC 5+.

diffstat:

 converters/TECkit/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 8206a061befd -r 4871620436d4 converters/TECkit/Makefile
--- a/converters/TECkit/Makefile        Fri Sep 29 13:31:55 2017 +0000
+++ b/converters/TECkit/Makefile        Fri Sep 29 13:32:01 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2016/01/09 03:10:45 chuck Exp $
+# $NetBSD: Makefile,v 1.8 2017/09/29 13:32:01 joerg Exp $
 
 DISTNAME=      TECkit_2.5.3
 PKGNAME=       ${DISTNAME:S/_/-/}
@@ -24,6 +24,12 @@
 
 PKGCONFIG_OVERRIDE=    teckit.pc.in
 
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-[5-9]*)
+CFLAGS+=       -Wno-narrowing
+.endif
+
 pre-configure:
                (cd ${WRKSRC}; ./autogen.sh)
 



Home | Main Index | Thread Index | Old Index