1
0
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:
Po-Chuan Hsieh 2023-12-25 17:03:14 +08:00
parent 416c78aeeb
commit 5e342f8685
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View 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"