diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-20 06:09:03 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-20 06:09:03 +0000 |
commit | e67afe214b2f562c8ef976023915ce7b2b010f08 (patch) | |
tree | 8bc9014eb0b670d92e8e9c47b03b37496a61c767 /editors | |
parent | 96ab5fbe38d2155394682ee895e27fecfaf99b75 (diff) | |
download | pkgsrc-e67afe214b2f562c8ef976023915ce7b2b010f08.tar.gz |
mark packages that fail with -Werror=char-subscripts
These packages are susceptible to bugs when confronted with non-ASCII
characters.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182.
It takes some time to analyze and fix these individually, therefore they
are only marked as "needs work".
Diffstat (limited to 'editors')
-rw-r--r-- | editors/em/Makefile | 9 | ||||
-rw-r--r-- | editors/emacs20/Makefile | 9 | ||||
-rw-r--r-- | editors/se/Makefile | 8 |
3 files changed, 23 insertions, 3 deletions
diff --git a/editors/em/Makefile b/editors/em/Makefile index 0bf291e2382..2fb8d7546e5 100644 --- a/editors/em/Makefile +++ b/editors/em/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2017/12/24 09:46:05 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2020/05/20 06:09:03 rillig Exp $ DISTNAME= em-1.0.0 CATEGORIES= editors @@ -12,4 +12,11 @@ LICENSE= public-domain GNU_CONFIGURE= yes AUTO_MKDIRS= yes +# em1.c: In function 'advance': +# em1.c:1554:11: error: array subscript has type 'char' [-Werror=char-subscripts] +# braslist[*ep++] = lp; +# ^ +# Maybe fix this later. +BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts + .include "../../mk/bsd.pkg.mk" diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile index 59a372fc7c7..66f3361f4f3 100644 --- a/editors/emacs20/Makefile +++ b/editors/emacs20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2020/01/26 17:31:06 rillig Exp $ +# $NetBSD: Makefile,v 1.62 2020/05/20 06:09:03 rillig Exp $ DISTNAME= emacs-20.7 PKGNAME= ${DISTNAME:S/emacs/emacs20/} @@ -84,6 +84,13 @@ MAKEFILECPP= ${CPP} -traditional-cpp .endif ALL_ENV+= MAKEFILECPP=${MAKEFILECPP:Q} +# emacs-20.7/lib-src/etags.c: In function 'init': +# emacs-20.7/lib-src/etags.c:1208:35: error: array subscript has type 'char' [-Werror=char-subscripts] +# for (sp = white; *sp; sp++) _wht[*sp] = TRUE; _wht[0] = _wht['\n']; +# ^ +# Maybe fix this later. +BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts + INFO_FILES= yes INSTALL_PROGRAM= ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} diff --git a/editors/se/Makefile b/editors/se/Makefile index 77c084adea6..53a57a9bf88 100644 --- a/editors/se/Makefile +++ b/editors/se/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2015/08/18 07:31:06 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2020/05/20 06:09:08 rillig Exp $ DISTNAME= se-3.0.1 PKGREVISION= 1 @@ -12,5 +12,11 @@ LICENSE= public-domain GNU_CONFIGURE= yes +# pat.c: In function 'amatch': +# pat.c:101:10: error: array subscript has type 'char' [-Werror=char-subscripts] +# tagbeg[*(ppat + 1)] = lastc - lin; +# Maybe fix this later. +BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts + .include "../../mk/curses.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |