Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/bridge-hands games/bridge-hands: document harmle...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5514c7e2e47
branches:  trunk
changeset: 430721:c5514c7e2e47
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun May 03 16:06:01 2020 +0000

description:
games/bridge-hands: document harmless array[char]

diffstat:

 games/bridge-hands/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 3e97a0f34bdb -r c5514c7e2e47 games/bridge-hands/Makefile
--- a/games/bridge-hands/Makefile       Sun May 03 16:01:27 2020 +0000
+++ b/games/bridge-hands/Makefile       Sun May 03 16:06:01 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/10/06 11:54:32 asau Exp $
+# $NetBSD: Makefile,v 1.16 2020/05/03 16:06:01 rillig Exp $
 
 DISTNAME=      hands-2.0.bsd386
 PKGNAME=       bridge-hands-2.0
@@ -14,6 +14,9 @@
 WRKSRC=                        ${WRKDIR}/hands/source
 INSTALLATION_DIRS=     bin
 
+# harmless; only indexes 0..51 are used.
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 do-build:
        cd ${WRKSRC}; ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}            \
                -o hands hands.c ${LIBS}



Home | Main Index | Thread Index | Old Index