summaryrefslogtreecommitdiff
path: root/inputmethod/mozc-server
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-25 05:30:31 +0000
committerrillig <rillig@pkgsrc.org>2020-05-25 05:30:31 +0000
commit0973cf92d078f315c6bc9d28a4722b6c69be5a1e (patch)
tree654f41a742825ba2b681c6da644267f3279eece8 /inputmethod/mozc-server
parent009f3d16af138ba1be77114dec81c4a5761de2fe (diff)
downloadpkgsrc-0973cf92d078f315c6bc9d28a4722b6c69be5a1e.tar.gz
inputmethod/mozc-server: document possible array[char] bug
Diffstat (limited to 'inputmethod/mozc-server')
-rw-r--r--inputmethod/mozc-server/Makefile.common10
1 files changed, 9 insertions, 1 deletions
diff --git a/inputmethod/mozc-server/Makefile.common b/inputmethod/mozc-server/Makefile.common
index c1a24dced7e..2c05c81d1cf 100644
--- a/inputmethod/mozc-server/Makefile.common
+++ b/inputmethod/mozc-server/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2019/04/25 07:50:40 maya Exp $
+# $NetBSD: Makefile.common,v 1.28 2020/05/25 05:30:31 rillig Exp $
# used by inputmethod/ibus-mozc/Makefile
# used by inputmethod/mozc-elisp/Makefile
# used by inputmethod/mozc-server/Makefile
@@ -65,6 +65,14 @@ OSDEST.NetBSD= bsd
MOZC_BUILD_MODE= Release # or Debug
+# In file included from src/dictionary/system/system_dictionary.h:43:0,
+# from ../../dictionary/system/system_dictionary.cc:47:
+# src/dictionary/system/key_expansion_table.h: In member function 'const mozc::dictionary::ExpandedKey mozc::dictionary::KeyExpansionTable::ExpandKey(char) const':
+# src/dictionary/system/key_expansion_table.h:83:34: error: array subscript has type 'char' [-Werror=char-subscripts]
+# return ExpandedKey(table_[key]);
+# Maybe fix this later.
+BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
+
do-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
GYP_DEFINES="use_libprotobuf=1" \