diff --git a/net-libs/grpc/files/grpc-1.65.0-vlog.patch b/net-libs/grpc/files/grpc-1.65.0-vlog.patch new file mode 100644 index 0000000000000..e57c0ba222b38 --- /dev/null +++ b/net-libs/grpc/files/grpc-1.65.0-vlog.patch @@ -0,0 +1,17 @@ + +Fix build with abseil-cpp-20240722.0 which no longer implicitly +includes absl/log/vlog_is_on.h + +See: https://github.com/abseil/abseil-cpp/releases/tag/20240722.0 +Bug: https://bugs.gentoo.org/939015 + +--- grpc-1.65.1/src/core/util/log.cc~ 2024-07-17 00:53:49.000000000 +0200 ++++ grpc-1.65.1/src/core/util/log.cc 2024-09-04 09:28:18.494476262 +0200 +@@ -19,6 +19,7 @@ + #include + + #include "absl/log/log.h" ++#include "absl/log/vlog_is_on.h" + + #include + #include diff --git a/net-libs/grpc/grpc-1.65.1.ebuild b/net-libs/grpc/grpc-1.65.1.ebuild index 448a008c7796e..3fbe1dcd6309b 100644 --- a/net-libs/grpc/grpc-1.65.1.ebuild +++ b/net-libs/grpc/grpc-1.65.1.ebuild @@ -56,6 +56,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.65.0-system-gtest.patch" + "${FILESDIR}/${PN}-1.65.0-vlog.patch" ) python_check_deps() {