From 8ca9fa4e05dea29e5e3f2685b54b09d600a8c2b2 Mon Sep 17 00:00:00 2001 From: Holger Hoffstätte Date: Wed, 4 Sep 2024 10:32:42 +0200 Subject: net-libs/grpc: fix build against abseil-cpp-20240722.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/939015 Signed-off-by: Holger Hoffstätte Closes: https://github.com/gentoo/gentoo/pull/38422 Signed-off-by: Sam James --- net-libs/grpc/files/grpc-1.65.0-vlog.patch | 17 +++++++++++++++++ net-libs/grpc/grpc-1.65.1.ebuild | 1 + 2 files changed, 18 insertions(+) create mode 100644 net-libs/grpc/files/grpc-1.65.0-vlog.patch (limited to 'net-libs/grpc') 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 000000000000..e57c0ba222b3 --- /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 448a008c7796..3fbe1dcd6309 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() { -- cgit v1.2.3-65-gdbad