summaryrefslogtreecommitdiff
path: root/sysutils
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
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')
-rw-r--r--sysutils/fs-kit/Makefile9
-rw-r--r--sysutils/hal/Makefile8
-rw-r--r--sysutils/xnc/Makefile8
-rw-r--r--sysutils/xps/Makefile8
4 files changed, 29 insertions, 4 deletions
diff --git a/sysutils/fs-kit/Makefile b/sysutils/fs-kit/Makefile
index 189f5b4026c..ebf75e4f675 100644
--- a/sysutils/fs-kit/Makefile
+++ b/sysutils/fs-kit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2012/10/23 19:51:02 asau Exp $
+# $NetBSD: Makefile,v 1.9 2020/05/20 06:09:04 rillig Exp $
DISTNAME= fs-kit-0.4
CATEGORIES= sysutils
@@ -19,6 +19,13 @@ WRKSRC= ${WRKDIR}/fs-kit
CFLAGS+= -Dunix=1
MAKE_FILE= makefile
+# kernel.c: In function 'move_vnode':
+# kernel.c:2225:14: error: array subscript has type 'char' [-Werror=char-subscripts]
+# lists[vn->inlist].head = vn->list.next;
+# ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
INSTALLATION_DIRS= sbin share/doc
do-install:
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index 1227701ac37..ab4f35cceb1 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2020/04/29 19:50:02 maya Exp $
+# $NetBSD: Makefile,v 1.90 2020/05/20 06:09:04 rillig Exp $
DISTNAME= hal-0.5.14
PKGREVISION= 23
@@ -25,6 +25,12 @@ MAKE_DIRS+= /media
MAKE_DIRS+= ${VARBASE}/cache/hald
SPECIAL_PERMS+= ${VARBASE}/cache/hald ${HAL_USER} ${HAL_GROUP} 0644
+# devinfo_mass.c: In function 'devinfo_mass_disklabel_add':
+# devinfo_mass.c:340:28: error: array subscript has type 'char'
+# part = &label.d_partitions[unit];
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
EGDIR= ${PREFIX}/share/examples/hal
CONF_FILES= ${EGDIR}/hal.conf ${PKG_SYSCONFBASE}/dbus-1/system.d/hal.conf
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"
diff --git a/sysutils/xps/Makefile b/sysutils/xps/Makefile
index edc7943be1d..1b6b5d50b6a 100644
--- a/sysutils/xps/Makefile
+++ b/sysutils/xps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2020/03/20 11:58:23 nia Exp $
+# $NetBSD: Makefile,v 1.50 2020/05/20 06:09:10 rillig Exp $
DISTNAME= xps-4.2
PKGREVISION= 10
@@ -15,6 +15,12 @@ CONFIGURE_ARGS+= x_applibdir=${PREFIX}/lib/X11/app-defaults
CFLAGS.NetBSD+= -D_KMEMUSER
+# os.c: In function 'GetStatus':
+# os.c:176:34: error: array subscript has type 'char' [-Werror=char-subscripts]
+# EndNode->color = base.nodeColor[pstat];
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
post-extract:
${LN} -s FreeBSD ${WRKSRC}/src/DragonFly