summaryrefslogtreecommitdiff
path: root/textproc
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 /textproc
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 'textproc')
-rw-r--r--textproc/isearch/Makefile8
-rw-r--r--textproc/lq-sp/Makefile9
2 files changed, 15 insertions, 2 deletions
diff --git a/textproc/isearch/Makefile b/textproc/isearch/Makefile
index 6ffd4d33e88..ec1959342b0 100644
--- a/textproc/isearch/Makefile
+++ b/textproc/isearch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2019/10/12 21:14:22 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2020/05/20 06:09:05 rillig Exp $
DISTNAME= Isearch-1.47.01
PKGNAME= isearch-1.47.01
@@ -18,6 +18,12 @@ USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin share/doc/isearch
+# string.cxx: In function 'char* transcode(char*, const char**)':
+# string.cxx:1215:29: error: array subscript has type 'char' [-Werror=char-subscripts]
+# if (transarray[*obufscan]) {
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
post-install:
${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${DESTDIR}${PREFIX}/share/doc/isearch
${INSTALL_DATA} ${WRKSRC}/doc/DebugFirewall.doc ${DESTDIR}${PREFIX}/share/doc/isearch
diff --git a/textproc/lq-sp/Makefile b/textproc/lq-sp/Makefile
index ffc8413c254..f8d088d34be 100644
--- a/textproc/lq-sp/Makefile
+++ b/textproc/lq-sp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2020/01/26 17:32:15 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2020/05/20 06:09:06 rillig Exp $
#
DISTNAME= lq-sp-1.3.4.12
@@ -19,6 +19,13 @@ SUBST_SED.paths= -e 's,/usr/local,${PREFIX},g'
INSTALLATION_DIRS+= bin
+# CmdLineApp.cxx: In member function 'StringC CmdLineApp::usageString()':
+# CmdLineApp.cxx:115:35: error: array subscript has type 'char' [-Werror=char-subscripts]
+# else if (!hadOption[optstr_[i]]) {
+# ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nsgmls/lq-nsgmls ${DESTDIR}${PREFIX}/bin