summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-20 06:09:03 +0000
committerrillig <rillig@pkgsrc.org>2020-05-20 06:09:03 +0000
commite67afe214b2f562c8ef976023915ce7b2b010f08 (patch)
tree8bc9014eb0b670d92e8e9c47b03b37496a61c767 /misc
parent96ab5fbe38d2155394682ee895e27fecfaf99b75 (diff)
downloadpkgsrc-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 'misc')
-rw-r--r--misc/hanzim/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/hanzim/Makefile b/misc/hanzim/Makefile
index 425ee2e5f7e..db3d3c3e291 100644
--- a/misc/hanzim/Makefile
+++ b/misc/hanzim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2018/03/12 11:17:06 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2020/05/20 06:09:04 rillig Exp $
#
DISTNAME= hanzim-1.3
@@ -20,6 +20,13 @@ BUILD_TARGET= hanzim
# XXX
#MAKE_ENV+= SHELL=${SH:Q} LC_CTYPE=en_US.ISO8859-1
+# hanwin.c: In function 'charinfo':
+# hanwin.c:481:25: error: array subscript has type 'char' [-Werror=char-subscripts]
+# strcpy(pinyin,init_str[pinyintbl[cht->pinyins.ent[0]].init]);
+# ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../lang/tcl/buildlink3.mk"