summaryrefslogtreecommitdiff
path: root/security
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 /security
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 'security')
-rw-r--r--security/p5-Digest-Hashcash/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/p5-Digest-Hashcash/Makefile b/security/p5-Digest-Hashcash/Makefile
index abd22a01b76..8b261071765 100644
--- a/security/p5-Digest-Hashcash/Makefile
+++ b/security/p5-Digest-Hashcash/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2019/08/11 13:22:56 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2020/05/20 06:09:07 rillig Exp $
DISTNAME= Digest-Hashcash-1.1
PKGNAME= p5-${DISTNAME}
@@ -15,5 +15,11 @@ DEPENDS+= p5-Canary-Stability-[0-9]*:../../devel/p5-Canary-Stability
PERL5_PACKLIST= auto/Digest/Hashcash/.packlist
+# Hashcash.xs: In function 'XS_Digest__Hashcash__gentoken':
+# Hashcash.xs:441:28: error: array subscript has type 'char' [-Werror=char-subscripts]
+# *s = nextenc [*s];
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"