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 /games/devilutionx | |
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 'games/devilutionx')
-rw-r--r-- | games/devilutionx/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/devilutionx/Makefile b/games/devilutionx/Makefile index 4d71e75de04..e4b8b7dd8a3 100644 --- a/games/devilutionx/Makefile +++ b/games/devilutionx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2020/03/30 19:36:39 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2020/05/20 06:09:03 rillig Exp $ DISTNAME= devilutionx-1.0.1 CATEGORIES= games @@ -37,6 +37,13 @@ CXXFLAGS+= -DO_LARGEFILE=0 -Dstat64=stat -Dlstat64=lstat -Dlseek64=lseek -Doff64 # No idea. CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE +# 3rdParty/StormLib/src/SFileFindFile.cpp: In function 'int CheckWildCard(const char*, const char*)': +# 3rdParty/StormLib/src/SFileFindFile.cpp:72:54: error: array subscript has type 'char' [-Werror=char-subscripts] +# if(AsciiToUpperTable[szWildCardPtr[0]] == AsciiToUpperTable[szString[0]]) +# ^ +# Maybe fix this later. +BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts + INSTALLATION_DIRS+= bin INSTALLATION_DIRS+= share/applications INSTALLATION_DIRS+= share/icons/hicolor/16x16/apps |