summaryrefslogtreecommitdiff
path: root/devel/gcvs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gcvs')
-rw-r--r--devel/gcvs/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/gcvs/Makefile b/devel/gcvs/Makefile
index 3334c098137..650430a72f7 100644
--- a/devel/gcvs/Makefile
+++ b/devel/gcvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2020/01/26 05:26:23 rillig Exp $
+# $NetBSD: Makefile,v 1.46 2020/05/20 06:09:04 rillig Exp $
DISTNAME= gcvs-1.0
PKGREVISION= 14
@@ -24,6 +24,14 @@ CONFIGURE_ARGS+= perl_path=${PERL5}
CPPFLAGS+= -DUSE_INTERP_RESULT
+# Uh oh, Pascal-style strings with undefined behavior for length >= 128.
+# ../rf/ustr.h: In member function 'bool UPStr::endsWith(char) const':
+# ../rf/ustr.h:96:75: error: array subscript has type 'char' [-Werror=char-subscripts]
+# inline bool endsWith(char c) const {return str == 0L ? false : str[str[0]] == c;}
+# ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"