aboutsummaryrefslogtreecommitdiff
path: root/misc/fcitx5-mozc/0010-fix-build-gcc11.patch
diff options
context:
space:
mode:
authorJW(Shinichi Abe) <shin1.abe@nifty.com>2022-12-02 13:02:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-03 09:09:21 +0700
commit5360f04319be764f666fac8c5baadacbac2b459b (patch)
tree81efe2f0b79da4dcf7d736d6d383026f037a01e0 /misc/fcitx5-mozc/0010-fix-build-gcc11.patch
parentab354595cfb51296e1a50fc01d369388ada66fdd (diff)
misc/fcitx5-mozc: Added (Mozc engine for fcitx5).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/fcitx5-mozc/0010-fix-build-gcc11.patch')
-rw-r--r--misc/fcitx5-mozc/0010-fix-build-gcc11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/fcitx5-mozc/0010-fix-build-gcc11.patch b/misc/fcitx5-mozc/0010-fix-build-gcc11.patch
new file mode 100644
index 0000000000000..eea54d617811e
--- /dev/null
+++ b/misc/fcitx5-mozc/0010-fix-build-gcc11.patch
@@ -0,0 +1,11 @@
+diff --color -rupN mozc.orig/src/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc mozc/src/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc
+--- mozc.orig/src/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc 2021-03-15 22:29:19.136624465 +0800
++++ mozc/src/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc 2021-03-15 22:29:50.682448271 +0800
+@@ -37,6 +37,7 @@
+
+ #include <algorithm>
+ #include <array>
++#include <limits>
+ #include "absl/base/internal/hide_ptr.h"
+ #include "absl/base/internal/raw_logging.h"
+ #include "absl/base/internal/spinlock.h"