net-libs/grpc: fix build against abseil-cpp-20240722.0

Closes: https://bugs.gentoo.org/939015
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/38422
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Holger Hoffstätte
2024-09-04 09:39:28 +01:00
committed by Sam James
parent ac53d9d2bc
commit 8ca9fa4e05
2 changed files with 18 additions and 0 deletions
@@ -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 <grpc/support/port_platform.h>
#include "absl/log/log.h"
+#include "absl/log/vlog_is_on.h"
#include <stdio.h>
#include <string.h>
+1
View File
@@ -56,6 +56,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-1.65.0-system-gtest.patch"
"${FILESDIR}/${PN}-1.65.0-vlog.patch"
)
python_check_deps() {