summaryrefslogtreecommitdiff
path: root/games/xevil/Makefile
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 /games/xevil/Makefile
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 'games/xevil/Makefile')
-rw-r--r--games/xevil/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/games/xevil/Makefile b/games/xevil/Makefile
index e32aefaa267..8991ef01f86 100644
--- a/games/xevil/Makefile
+++ b/games/xevil/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2019/05/23 19:23:01 rillig Exp $
+# $NetBSD: Makefile,v 1.26 2020/05/20 06:09:09 rillig Exp $
DISTNAME= xevilsrc2.02r2
PKGNAME= xevil-2.02
@@ -22,6 +22,13 @@ MAKE_ENV+= HOSTTYPE="pkgsrc"
USE_LANGUAGES= c++03
+# draw.cpp: In member function 'void World::draw_square(Drawable, Xvars&, int, const Loc&, int, int, Boolean)':
+# draw.cpp:47:63: error: array subscript has type 'char' [-Werror=char-subscripts]
+# int blockNum = themes[themeIndex].blockIndices[map[l.r][l.c]];
+# ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
INSTALLATION_DIRS= bin
do-install: