summaryrefslogtreecommitdiff
path: root/japanese/mozc-server/files/extra-patch-src-unix-uim-mozc.cc
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2016-05-16 17:43:22 +0000
committerHiroki Sato <hrs@FreeBSD.org>2016-05-16 17:43:22 +0000
commit196453bfe438e95d4554a395653f65fd213c6cff (patch)
tree2dbeadf4eb748c943569385298a0aa2bbe178035 /japanese/mozc-server/files/extra-patch-src-unix-uim-mozc.cc
parentRemove expired ports: (diff)
Update japanese/mozc-server to 2.17.2322.102. Changes include:
- Use Github as the source. - Depend on devel/py-gyp and japanese/zinnia because bundled versions have been removed from the original distfile. - devel/py-gyp-devel has been updated to snapshot as of 20160504 and renamed with devel/py-gyp. Take maintainership[*]. - Install mozc.el.gz instead of mozc.el. Approved by: maintainer [*]
Notes
Notes: svn path=/head/; revision=415345
Diffstat (limited to 'japanese/mozc-server/files/extra-patch-src-unix-uim-mozc.cc')
-rw-r--r--japanese/mozc-server/files/extra-patch-src-unix-uim-mozc.cc24
1 files changed, 15 insertions, 9 deletions
diff --git a/japanese/mozc-server/files/extra-patch-src-unix-uim-mozc.cc b/japanese/mozc-server/files/extra-patch-src-unix-uim-mozc.cc
index 3253be97c9c4..2fced9df6401 100644
--- a/japanese/mozc-server/files/extra-patch-src-unix-uim-mozc.cc
+++ b/japanese/mozc-server/files/extra-patch-src-unix-uim-mozc.cc
@@ -1,13 +1,19 @@
---- src/unix/uim/mozc.cc.orig 2015-07-13 05:03:12.431514000 +0900
-+++ src/unix/uim/mozc.cc 2015-07-13 05:03:30.340372000 +0900
-@@ -50,8 +50,8 @@
+--- src/unix/uim/mozc.cc.orig 2016-05-11 00:39:29.009401000 +0900
++++ src/unix/uim/mozc.cc 2016-05-11 00:40:58.320083000 +0900
+@@ -48,6 +48,7 @@
+ # include "plugin.h"
+ #endif
++#include "base/init_mozc.h"
#include "base/port.h"
#include "base/util.h"
--#include "config/config.pb.h"
--#include "session/commands.pb.h"
-+#include "protocol/config.pb.h"
-+#include "protocol/commands.pb.h"
- #include "client/client.h"
- #include "unix/uim/key_translator.h"
+ #include "protocol/config.pb.h"
+@@ -1196,7 +1197,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();
+ }