Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/cwtext ham/cwtext: document safe usage of array[char]



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c79e2219142
branches:  trunk
changeset: 430727:8c79e2219142
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun May 03 16:49:32 2020 +0000

description:
ham/cwtext: document safe usage of array[char]

diffstat:

 ham/cwtext/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b575b64bf482 -r 8c79e2219142 ham/cwtext/Makefile
--- a/ham/cwtext/Makefile       Sun May 03 16:45:52 2020 +0000
+++ b/ham/cwtext/Makefile       Sun May 03 16:49:32 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2020/03/20 11:57:54 nia Exp $
+# $NetBSD: Makefile,v 1.26 2020/05/03 16:49:32 rillig Exp $
 
 DISTNAME=      cwtext-0.96
 PKGREVISION=   3
@@ -13,6 +13,9 @@
 USE_TOOLS+=    gmake
 BUILD_TARGET=  ALL
 
+# harmless; the only call is properly guarded
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 INSTALLATION_DIRS=     bin
 INSTALLATION_DIRS+=    share/doc/${PKGBASE}
 



Home | Main Index | Thread Index | Old Index