void-packages/srcpkgs/mozc/patches/conflict-macro.patch

14 lines
336 B
Diff

--- a/mozc/src/unix/fcitx/surrounding_text_util.cc
+++ b/mozc/src/unix/fcitx/surrounding_text_util.cc
@@ -34,6 +34,10 @@
#include <fcitx/instance.h>
#include <fcitx/module/clipboard/fcitx-clipboard.h>
+#ifdef InvokeFunction
+#undef InvokeFunction
+#endif
+
#include "base/port.h"
#include "base/logging.h"
#include "base/util.h"