summaryrefslogtreecommitdiff
path: root/biology
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 /biology
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 'biology')
-rw-r--r--biology/lucy/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/biology/lucy/Makefile b/biology/lucy/Makefile
index 8d6446f2f3b..44f353efc46 100644
--- a/biology/lucy/Makefile
+++ b/biology/lucy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2020/01/26 05:26:15 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2020/05/20 06:09:06 rillig Exp $
#
DISTNAME= ${PKGNAME:S/-//}
@@ -16,6 +16,13 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}p
AUTO_MKDIRS= yes
PTHREAD_AUTO_VARS= yes
+# abi.c: In function 'abi_align':
+# abi.c:195:16: error: array subscript has type 'char' [-Werror=char-subscripts]
+# if (badness[a[i]][b[j]]) {
+# ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lucy ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lucy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1