summarylogtreecommitdiffstats
path: root/adapt_mozc2.17.2240.102.patch
blob: a2aca48a6ac44766a21a1fe000f0ff6ec9b68a39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff -uNr mozc.orig/src/unix/uim/mozc.cc mozc/src/unix/uim/mozc.cc
--- mozc.orig/src/unix/uim/mozc.cc	2015-12-02 20:12:47.386430000 +0900
+++ mozc/src/unix/uim/mozc.cc	2015-12-02 20:14:46.780606804 +0900
@@ -33,6 +33,7 @@
 
 //#include <config.h>
 
+#include <cstddef>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -50,6 +51,7 @@
 
 #include "base/port.h"
 #include "base/util.h"
+#include "base/init_mozc.h"
 #include "protocol/config.pb.h"
 #include "protocol/commands.pb.h"
 #include "client/client.h"
@@ -1196,7 +1198,7 @@
   argv[0] = (char *)name;
   argv[1] =  NULL;
 
-  InitGoogle((const char *)argv[0], &argc, (char ***)&argv, true);
+  mozc::InitMozc((const char *)argv[0], &argc, (char ***)&argv, true);
   mozc::uim::install_keymap();
 }