Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/elm-me mail/elm-me: document harmless array[char]



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45f8e4793349
branches:  trunk
changeset: 432299:45f8e4793349
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu May 21 00:00:46 2020 +0000

description:
mail/elm-me: document harmless array[char]

diffstat:

 mail/elm-me/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 5c80fcf211b2 -r 45f8e4793349 mail/elm-me/Makefile
--- a/mail/elm-me/Makefile      Wed May 20 23:32:56 2020 +0000
+++ b/mail/elm-me/Makefile      Thu May 21 00:00:46 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2019/11/02 16:25:20 rillig Exp $
+# $NetBSD: Makefile,v 1.38 2020/05/21 00:00:46 rillig Exp $
 
 DISTNAME=              elm-2.4ME+93
 PKGNAME=               elm-me-2.4.93
@@ -27,7 +27,7 @@
 CONF_FILES=            ${PREFIX}/lib/elm.mimetypes-dist                \
                        ${PREFIX}/lib/elm.mimetypes
 
-USE_TOOLS+=    ksh
+USE_TOOLS+=            ksh
 
 SUBST_CLASSES+=                errno
 SUBST_STAGE.errno=     pre-configure
@@ -35,6 +35,10 @@
 SUBST_FILES.errno=     */*.c
 SUBST_SED.errno=       -e 's,^extern int errno;,\#include <errno.h>,'
 
+# occurs in elmlib.h and is properly protected code:
+#  #define hex(c) ((((c) > 0) && ((c) < 127)) ? index_hex[ (c) ] : -1)
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 # currently not set in files/config.sh
 # (should probably be a package option)
 #SPECIAL_PERMS+=       bin/elm ${ROOT_USER} mail 2755



Home | Main Index | Thread Index | Old Index