Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/cu-prolog lang/cu-prolog: suppress harmless array...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b575b64bf482
branches:  trunk
changeset: 430726:b575b64bf482
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun May 03 16:45:52 2020 +0000

description:
lang/cu-prolog: suppress harmless array[char] compiler warnings

diffstat:

 lang/cu-prolog/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 37c60155f5c2 -r b575b64bf482 lang/cu-prolog/Makefile
--- a/lang/cu-prolog/Makefile   Sun May 03 16:40:29 2020 +0000
+++ b/lang/cu-prolog/Makefile   Sun May 03 16:45:52 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2012/10/02 20:11:38 asau Exp $
+# $NetBSD: Makefile,v 1.18 2020/05/03 16:45:52 rillig Exp $
 
 DISTNAME=      cu-prolog-3.94
 CATEGORIES=    lang
@@ -13,6 +13,9 @@
 MAKE_FILE=     makefile
 BUILD_TARGET=  cup
 
+# harmless; the calls in print.c are all guarded
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 INSTALLATION_DIRS=     bin
 
 do-install:



Home | Main Index | Thread Index | Old Index