python3-grpcio-tools: upgrade 1.48.1 -> 1.49.0

0001-protobuf-Disable-musttail-attribute-on-mips.patch
refreshed for new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
wangmy 2022-09-20 10:22:05 +08:00 committed by Khem Raj
parent f5420bc37a
commit bb27cf1c1e
2 changed files with 8 additions and 14 deletions

View File

@ -7,24 +7,18 @@ See https://github.com/llvm/llvm-project/issues/57795
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
third_party/protobuf/src/google/protobuf/port_def.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/third_party/protobuf/src/google/protobuf/port_def.inc b/third_party/protobuf/src/google/protobuf/port_def.inc
index 37632cf..3c3c1e4 100644
--- a/third_party/protobuf/src/google/protobuf/port_def.inc
+++ b/third_party/protobuf/src/google/protobuf/port_def.inc
@@ -230,7 +230,8 @@
@@ -255,6 +255,7 @@
#error PROTOBUF_TAILCALL was previously defined
#endif
#if __has_cpp_attribute(clang::musttail) && \
- !defined(__arm__) && !defined(_ARCH_PPC) && !defined(__wasm__)
+ !defined(__arm__) && !defined(_ARCH_PPC) && !defined(__wasm__) && \
+ !defined(__mips__)
# ifndef PROTO2_OPENSOURCE
// Compilation fails on ARM32: b/195943306
// Compilation fails on powerpc64le: b/187985113
--
2.37.3
#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \
+ !defined(__mips__) && \
!defined(_ARCH_PPC) && !defined(__wasm__) && \
!(defined(_MSC_VER) && defined(_M_IX86)) && \
!(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24)

View File

@ -12,7 +12,7 @@ DEPENDS += "${PYTHON_PN}-grpcio"
SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \
file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \
"
SRC_URI[sha256sum] = "1178f2ea531f80cc2027ec64728df6ffc8e98cf1df61652a496eafd612127183"
SRC_URI[sha256sum] = "16ac93ac515194f63febcf6f8a96a7f17390268972acc15e765d257f5008f2af"
RDEPENDS:${PN} = "${PYTHON_PN}-grpcio"