summaryrefslogtreecommitdiff
path: root/graphics/xfig
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 /graphics/xfig
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 'graphics/xfig')
-rw-r--r--graphics/xfig/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 0d60140f283..56bd3c675a0 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2020/03/20 11:57:53 nia Exp $
+# $NetBSD: Makefile,v 1.77 2020/05/20 06:09:09 rillig Exp $
DISTNAME= xfig-3.2.6a
PKGNAME= ${DISTNAME:S/-full//}
@@ -19,6 +19,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-appdefaultdir=${PREFIX}/lib/X11/app-defaults
+# w_cmdpanel.c: In function 'change_orient':
+# w_cmdpanel.c:893:36: error: array subscript has type 'char' [-Werror=char-subscripts]
+# FirstArg(XtNlabel, orient_items[appres.landscape]);
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"