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 /comms | |
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 'comms')
-rw-r--r-- | comms/estic/Makefile | 9 | ||||
-rw-r--r-- | comms/gsmlib/Makefile | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/comms/estic/Makefile b/comms/estic/Makefile index acb81a09d17..2d5641fa8a0 100644 --- a/comms/estic/Makefile +++ b/comms/estic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2019/11/03 12:04:12 rillig Exp $ +# $NetBSD: Makefile,v 1.39 2020/05/20 06:09:03 rillig Exp $ DISTNAME= estic-1.61 PKGREVISION= 2 @@ -32,6 +32,13 @@ CPPFLAGS+= -DSOLARIS CPPFLAGS+= -DFREEBSD .endif +# str.cc: In function 'String ShowControls(const String&, unsigned int)': +# str.cc:1145:57: error: array subscript has type 'char' [-Werror=char-subscripts] +# T += (Style & ccOct)? OctCodes [*Str] : HexCodes [*Str]; +# ^ +# Maybe fix this later. +BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts + INSTALLATION_DIRS= bin post-extract: diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile index d99486b446c..a20e1154c9d 100644 --- a/comms/gsmlib/Makefile +++ b/comms/gsmlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2018/07/18 00:06:12 joerg Exp $ +# $NetBSD: Makefile,v 1.28 2020/05/20 06:09:04 rillig Exp $ # DISTNAME= gsmlib-1.10 @@ -19,6 +19,13 @@ CONFIGURE_ARGS+= --without-included-gettext PTHREAD_OPTS+= require PTHREAD_AUTO_VARS= yes +# gsm_util.cc: In function 'std::string gsmlib::gsmToLatin1(std::string)': +# gsm_util.cc:107:72: error: array subscript has type 'char' [-Werror=char-subscripts] +# result[i] = (unsigned char)s[i] > 127 ? NOP : gsmToLatin1Table[s[i]]; +# ^ +# Maybe fix this later. +BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |