diff options
author | Matteo Bernardini | 2024-06-01 16:02:27 +0200 |
---|---|---|
committer | Matteo Bernardini | 2024-06-01 16:02:27 +0200 |
commit | 9f48c45cb5ebe3b0694ee2821c5b843c89112025 (patch) | |
tree | aaa82c624f3373b221161179118fe8cceb004be1 /misc/fcitx5-mozc | |
parent | a0d1ab69c9963cb2cc62703291fae30c09d35fea (diff) | |
download | slackbuilds-current.tar.gz |
20240601.1 global branch merge.current-20240601.1current
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'misc/fcitx5-mozc')
-rw-r--r-- | misc/fcitx5-mozc/0013-mozc-includes.patch | 20 | ||||
-rw-r--r-- | misc/fcitx5-mozc/fcitx5-mozc.SlackBuild | 3 |
2 files changed, 23 insertions, 0 deletions
diff --git a/misc/fcitx5-mozc/0013-mozc-includes.patch b/misc/fcitx5-mozc/0013-mozc-includes.patch new file mode 100644 index 0000000000..b437f24e8b --- /dev/null +++ b/misc/fcitx5-mozc/0013-mozc-includes.patch @@ -0,0 +1,20 @@ +--- third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc 2023-09-05 17:36:23.973250174 +0900 ++++ third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc 2023-09-05 17:37:06.585477262 +0900 +@@ -5,6 +5,7 @@ + #include <algorithm> + #include <cassert> + #include <cmath> ++#include <cstdint> + #include <limits> + #include <string> + +--- third_party/abseil-cpp/absl/strings/internal/str_format/extension.h 2023-09-05 17:45:04.104106229 +0900 ++++ third_party/abseil-cpp/absl/strings/internal/str_format/extension.h 2023-09-05 17:45:24.484098612 +0900 +@@ -20,6 +20,7 @@ + + #include <cstddef> + #include <cstring> ++#include <cstdint> + #include <ostream> + + #include "absl/base/config.h" diff --git a/misc/fcitx5-mozc/fcitx5-mozc.SlackBuild b/misc/fcitx5-mozc/fcitx5-mozc.SlackBuild index 2d679c9fce..eb7836e054 100644 --- a/misc/fcitx5-mozc/fcitx5-mozc.SlackBuild +++ b/misc/fcitx5-mozc/fcitx5-mozc.SlackBuild @@ -165,6 +165,9 @@ cd src/ # Build with gcc instead of clang echo "... Apply 0012-mozc-build-gcc.patch" patch -p1 < $CWD/0012-mozc-build-gcc.patch +# gcc-13 compatibility +echo "... Apply 0013-mozc-includes.patch" +patch -p0 < $CWD/0013-mozc-includes.patch # Fix compatibility with google-glog 0.3.3 (symbol conflict) CFLAGS="${CFLAGS} -fvisibility=hidden" |