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 /devel/gcvs | |
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 'devel/gcvs')
-rw-r--r-- | devel/gcvs/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/gcvs/Makefile b/devel/gcvs/Makefile index 3334c098137..650430a72f7 100644 --- a/devel/gcvs/Makefile +++ b/devel/gcvs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2020/01/26 05:26:23 rillig Exp $ +# $NetBSD: Makefile,v 1.46 2020/05/20 06:09:04 rillig Exp $ DISTNAME= gcvs-1.0 PKGREVISION= 14 @@ -24,6 +24,14 @@ CONFIGURE_ARGS+= perl_path=${PERL5} CPPFLAGS+= -DUSE_INTERP_RESULT +# Uh oh, Pascal-style strings with undefined behavior for length >= 128. +# ../rf/ustr.h: In member function 'bool UPStr::endsWith(char) const': +# ../rf/ustr.h:96:75: error: array subscript has type 'char' [-Werror=char-subscripts] +# inline bool endsWith(char c) const {return str == 0L ? false : str[str[0]] == c;} +# ^ +# Maybe fix this later. +BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts + .include "../../lang/tcl/buildlink3.mk" .include "../../x11/gtk/buildlink3.mk" |