SHA256
1
0
forked from pool/grpc

fix build with newer abseil-cpp #5

Merged
jengelh merged 2 commits from :master into master 2026-01-16 18:47:35 +01:00
3 changed files with 42 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 16 14:28:23 UTC 2026 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* grpc_missing_includes.patch
+ fix missing includes with newer abseil-cpp
-------------------------------------------------------------------
Sat Nov 8 17:08:46 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -34,6 +34,7 @@ Patch3: return-values.patch
Patch4: telemetry.patch
Patch14: ARM-Unaligned-access-fixes.patch
Patch15: Fix-compilation-on-RHEL-7-ppc64le-gcc-4.8.patch
Patch16: grpc_missing_includes.patch
BuildRequires: abseil-cpp-devel >= 20240722
BuildRequires: cmake
BuildRequires: fdupes
@@ -131,6 +132,7 @@ This subpackage contains source code of the gRPC reference implementation.
%prep
%autosetup -p1
find "." -type f -exec grep -l '/usr/bin/python' {} + |
xargs -r perl -i -lpe \
's{#! ?/usr/bin/python\S*}{#!/usr/bin/python3}g;'

View File

@@ -0,0 +1,33 @@
--- grpc-1.76.0/include/grpc/event_engine/memory_request.h 2026-01-16 16:08:49.306769226 +0100
+++ grpc-1.76.0/include/grpc/event_engine/memory_request.h 2026-01-16 16:09:25.308460657 +0100
@@ -17,6 +17,8 @@
#include <grpc/support/port_platform.h>
#include <stddef.h>
+#include <string>
+
#include "absl/strings/string_view.h"
namespace grpc_event_engine {
--- grpc-1.76.0/src/core/channelz/v2tov1/property_list.cc 2026-01-16 16:08:49.318359694 +0100
+++ grpc-1.76.0/src/core/channelz/v2tov1/property_list.cc 2026-01-16 16:36:07.696439170 +0100
@@ -14,6 +14,8 @@
#include "src/core/channelz/v2tov1/property_list.h"
+#include <algorithm>
+#include <limits>
#include <cstdint>
#include <optional>
#include <string>
--- grpc-1.76.0/src/core/util/glob.cc 2026-01-16 16:08:49.411203729 +0100
+++ grpc-1.76.0/src/core/util/glob.cc 2026-01-16 16:10:43.618327606 +0100
@@ -14,6 +14,8 @@
#include "absl/strings/string_view.h"
+#include <algorithm>
+
namespace grpc_core {
namespace {