Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/lile misc/lile: document possible array[char] bug



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9371edbc9518
branches:  trunk
changeset: 432723:9371edbc9518
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon May 25 05:37:37 2020 +0000

description:
misc/lile: document possible array[char] bug

diffstat:

 misc/lile/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r cb79f11aea2b -r 9371edbc9518 misc/lile/Makefile
--- a/misc/lile/Makefile        Mon May 25 05:36:38 2020 +0000
+++ b/misc/lile/Makefile        Mon May 25 05:37:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2012/10/08 09:57:29 asau Exp $
+# $NetBSD: Makefile,v 1.17 2020/05/25 05:37:37 rillig Exp $
 
 DISTNAME=      lile-2.0
 PKGNAME=       ile-2.0
@@ -14,6 +14,13 @@
 
 USE_TOOLS+=    gzcat
 
+# ile.c: In function 'delete_word':
+# ile.c:729:32: error: array subscript has type 'char' [-Werror=char-subscripts]
+#   for (; (point > 0) && (delimit[line[point - 1]]); point--)
+#                                 ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
 
 post-patch:



Home | Main Index | Thread Index | Old Index