mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
japanese/fcitx-mozc: Fix build with protobuf 22+
PR: 275768
Reported by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Obtained from: 131f6bf4ea
This commit is contained in:
parent
416c78aeeb
commit
5e342f8685
15
japanese/mozc-server/files/patch-src_unix_fcitx_eim.cc
Normal file
15
japanese/mozc-server/files/patch-src_unix_fcitx_eim.cc
Normal file
@ -0,0 +1,15 @@
|
||||
Obtained from: https://github.com/fcitx/mozc/commit/131f6bf4ea9d1f49200f7ccd149fd30eae89ee97
|
||||
|
||||
--- src/unix/fcitx/eim.cc.orig 2020-08-14 17:09:18 UTC
|
||||
+++ src/unix/fcitx/eim.cc
|
||||
@@ -33,6 +33,10 @@
|
||||
#include <fcitx/module.h>
|
||||
#include <fcitx/keys.h>
|
||||
#include <fcitx-config/xdg.h>
|
||||
+
|
||||
+// Resolve macro naming conflict with absl.
|
||||
+#undef InvokeFunction
|
||||
+
|
||||
#include "fcitx_mozc.h"
|
||||
#include "mozc_connection.h"
|
||||
#include "mozc_response_parser.h"
|
Loading…
Reference in New Issue
Block a user