summaryrefslogtreecommitdiff
path: root/x11/wxGTK30/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/wxGTK30/Makefile')
-rw-r--r--x11/wxGTK30/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/wxGTK30/Makefile b/x11/wxGTK30/Makefile
index aa54fd6098e..2a2ba5f5dec 100644
--- a/x11/wxGTK30/Makefile
+++ b/x11/wxGTK30/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2020/03/10 22:09:17 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2020/05/20 06:09:09 rillig Exp $
DISTNAME= wxWidgets-3.0.4
PKGNAME= ${DISTNAME:S/wxWidgets/wxGTK30/}
@@ -33,6 +33,13 @@ CONFIGURE_ARGS+= --disable-visibility
CONFIGURE_ARGS+= --bindir=${PREFIX}/libexec/wx-3.0
CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/wx-3.0
+# ./src/stc/scintilla/src/Editor.cxx: In member function 'void Editor::LayoutLine(int, Surface*, ViewStyle&, LineLayout*, int)':
+# ./src/stc/scintilla/src/Editor.cxx:2200:47: error: array subscript has type 'char' [-Werror=char-subscripts]
+# if (ctrlCharWidth[ll->chars[charInLine]] == 0) {
+# ^
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
DOCDIR= share/wx-3.0/doc/wxWidgets
INSTALL_MAKE_FLAGS+= LN_S="ln -fs"