Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/mozc-server inputmethod/mozc-server: docum...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d576de1081e
branches:  trunk
changeset: 432717:4d576de1081e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon May 25 05:30:31 2020 +0000

description:
inputmethod/mozc-server: document possible array[char] bug

diffstat:

 inputmethod/mozc-server/Makefile.common |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r d26394eed802 -r 4d576de1081e inputmethod/mozc-server/Makefile.common
--- a/inputmethod/mozc-server/Makefile.common   Mon May 25 05:29:32 2020 +0000
+++ b/inputmethod/mozc-server/Makefile.common   Mon May 25 05:30:31 2020 +0000
@@ -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 @@
 
 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" \



Home | Main Index | Thread Index | Old Index