summaryrefslogtreecommitdiff
path: root/sysutils/xnc/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 /sysutils/xnc/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 'sysutils/xnc/Makefile')
-rw-r--r--sysutils/xnc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/xnc/Makefile b/sysutils/xnc/Makefile
index da7573e226e..9b716fa2612 100644
--- a/sysutils/xnc/Makefile
+++ b/sysutils/xnc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2018/07/18 00:06:23 joerg Exp $
+# $NetBSD: Makefile,v 1.43 2020/05/20 06:09:09 rillig Exp $
DISTNAME= xnc-5.0.4.src
PKGNAME= xnc-5.0.4
@@ -19,6 +19,12 @@ USE_LIBTOOL= yes
USE_TOOLS+= msgfmt
GNU_CONFIGURE= yes
+# editor.cxx: In member function 'char Editor::trans(int, char)':
+# editor.cxx:624:15: error: array subscript has type 'char' [-Werror=char-subscripts]
+# sym=rtbl[sym];
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../graphics/tiff/buildlink3.mk"