summaryrefslogtreecommitdiff
path: root/graphics
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
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')
-rw-r--r--graphics/libraw/Makefile8
-rw-r--r--graphics/xfig/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/graphics/libraw/Makefile b/graphics/libraw/Makefile
index f4252f0b57c..810f5da2053 100644
--- a/graphics/libraw/Makefile
+++ b/graphics/libraw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2020/04/26 06:38:17 rillig Exp $
+# $NetBSD: Makefile,v 1.34 2020/05/20 06:09:06 rillig Exp $
DISTNAME= LibRaw-0.19.5
PKGNAME= ${DISTNAME:tl}
@@ -19,6 +19,12 @@ CONFIGURE_ARGS+= --disable-examples
PKGCONFIG_OVERRIDE+= libraw.pc.in
PKGCONFIG_OVERRIDE+= libraw_r.pc.in
+# internal/dcraw_common.cpp: In member function 'void LibRaw::xtrans_interpolate(int)':
+# internal/dcraw_common.cpp:5885:27: error: array subscript has type 'char' [-Werror=char-subscripts]
+# cstat[fcol(row, col)]++;
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
.include "options.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
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"