From 359c58e2671b4245f2ec026715aba6b407e12bb3 Mon Sep 17 00:00:00 2001 From: Denis Romanenko Date: Wed, 4 Jun 2025 11:07:42 +0300 Subject: [PATCH] Fix alpine build Signed-off-by: Denis Romanenko --- cmake/modules/grpc.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake index 288cf27f..35ff0f93 100644 --- a/cmake/modules/grpc.cmake +++ b/cmake/modules/grpc.cmake @@ -181,6 +181,10 @@ else() sh -c "sed -i '20s/^/#include /' ${GRPC_SRC}/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h" + && + sh + -c + "sed -i 's|off64_t|off_t|g' ${GRPC_SRC}/third_party/abseil-cpp/absl/base/internal/direct_mmap.h" ) # Zig workaround: Add a PATCH_COMMAND to grpc cmake to fixup emitted -march by abseil-cpp