summaryrefslogtreecommitdiff
path: root/www
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 /www
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 'www')
-rw-r--r--www/htdig/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/htdig/Makefile b/www/htdig/Makefile
index 896137027a5..8192ba4453c 100644
--- a/www/htdig/Makefile
+++ b/www/htdig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2020/03/20 11:58:34 nia Exp $
+# $NetBSD: Makefile,v 1.47 2020/05/20 06:09:05 rillig Exp $
DISTNAME= htdig-3.2.0b6
PKGREVISION= 1
@@ -24,6 +24,13 @@ CONFIGURE_ARGS+= --with-search-dir=${PREFIX}/share/examples/htdig
CONFIGURE_ENV+= PDF_PARSER="${LOCALBASE}/bin/acroread"
CXXFLAGS+= -Wno-deprecated
+# StringMatch.cc: In member function 'int StringMatch::Compare(const char*, int&, int&)':
+# StringMatch.cc:314:37: error: array subscript has type 'char' [-Werror=char-subscripts]
+# new_state = table[trans[string[pos]]][state];
+# ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
PKG_SYSCONFSUBDIR= htdig
INSTALLATION_DIRS+= share/htdig/common