diff --git a/srcpkgs/mozc/patches/musl-getpw.patch b/srcpkgs/mozc/patches/musl-getpw.patch new file mode 100644 index 00000000000..6c414cdf221 --- /dev/null +++ b/srcpkgs/mozc/patches/musl-getpw.patch @@ -0,0 +1,14 @@ +--- a/mozc/src/base/system_util.cc ++++ b/mozc/src/base/system_util.cc +@@ -526,7 +526,11 @@ std::string SystemUtil::GetUserNameAsStr + DCHECK_NE(FALSE, result); + return win32::WideToUtf8(wusername); + #else // _WIN32 ++#if defined(__linux__) && !defined(__GLIBC__) ++ const int bufsize = 1024; ++#else + const int bufsize = sysconf(_SC_GETPW_R_SIZE_MAX); ++#endif + CHECK_NE(bufsize, -1); + absl::FixedArray buf(bufsize); + struct passwd pw, *ppw; diff --git a/srcpkgs/mozc/template b/srcpkgs/mozc/template index e659115e737..f7d6edc06ba 100644 --- a/srcpkgs/mozc/template +++ b/srcpkgs/mozc/template @@ -4,7 +4,7 @@ reverts="2.32.5851.102_1" # src/data/version/mozc_version_template.bzl # revision is always 102, template always says 100 ;) version=2.31.5851.102 -revision=1 +revision=2 _commit=6a2e6e292efe4c2048e0c86b0818a4897c4aa5b7 _abseil=20250512.0 _protobuf_commit=74211c0dfc2777318ab53c2cd2c317a2ef9012de