From df44fcdc676856ea5ac0c849441bf9ad456a0318 Mon Sep 17 00:00:00 2001 From: jchzhou Date: Thu, 4 Sep 2025 22:49:23 +0800 Subject: [PATCH] backport a patch for fixing building issues --- ...issing-template-arg-list-after-templ.patch | 27 +++++++++++++++++++ grpc.spec | 7 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 backport-Fix-new-clang-Wmissing-template-arg-list-after-templ.patch diff --git a/backport-Fix-new-clang-Wmissing-template-arg-list-after-templ.patch b/backport-Fix-new-clang-Wmissing-template-arg-list-after-templ.patch new file mode 100644 index 0000000..9a1fed5 --- /dev/null +++ b/backport-Fix-new-clang-Wmissing-template-arg-list-after-templ.patch @@ -0,0 +1,27 @@ +From 97362c288e9f4c94a7ac95868b4468738442990e Mon Sep 17 00:00:00 2001 +From: Amy Huang +Date: Tue, 4 Jun 2024 00:22:09 +0000 +Subject: [PATCH] [Fix] new clang -Wmissing-template-arg-list-after-template-kw + warning + +--- + src/core/lib/promise/detail/basic_seq.h | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/core/lib/promise/detail/basic_seq.h b/src/core/lib/promise/detail/basic_seq.h +index 663609d..5f4199e 100644 +--- a/src/core/lib/promise/detail/basic_seq.h ++++ b/src/core/lib/promise/detail/basic_seq.h +@@ -99,8 +99,7 @@ class BasicSeqIter { + } + cur_ = next; + state_.~State(); +- Construct(&state_, +- Traits::template CallSeqFactory(f_, *cur_, std::move(arg))); ++ Construct(&state_, Traits::CallSeqFactory(f_, *cur_, std::move(arg))); + return PollNonEmpty(); + }); + } +-- +2.51.0 + diff --git a/grpc.spec b/grpc.spec index da5cd76..c2d633f 100644 --- a/grpc.spec +++ b/grpc.spec @@ -4,7 +4,7 @@ Name: grpc Version: 1.60.0 -Release: 5 +Release: 6 Summary: A modern, open source high performance RPC framework that can run in any environment License: ASL 2.0 URL: https://www.grpc.io @@ -17,6 +17,8 @@ Patch0010: backport-Specify-noexcept-for-cdef-functions.patch Patch0011: remove-cert-expired-at-20250512.patch Patch0012: backport-CVE-2024-7246-chttp2-Fix-a-bug-in-hpack-error-handling.patch Patch0013: backport-CVE-2024-11407.patch +# https://github.com/grpc/grpc/pull/36805 +Patch0014: backport-Fix-new-clang-Wmissing-template-arg-list-after-templ.patch BuildRequires: gcc-c++ pkgconfig protobuf-devel protobuf-compiler protobuf-lite-devel BuildRequires: openssl-devel c-ares-devel gtest-devel zlib-devel gperftools-devel @@ -159,6 +161,9 @@ cd ../.. %{python3_sitearch}/grpcio-%{version}-py* %changelog +* Thu Sep 04 2025 jchzhou - 1.60.0-6 +- backport a patch for fixing building issues + * Tue Dec 03 2024 xinghe - 1.60.0-5 - Type:CVE - CVE:CVE-2024-11407 -- Gitee