python-grpcio: Upgrade to 1.19.0

Refresh patch to apply cleanly
Fix build for RISC-V

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2019-03-05 19:21:15 -08:00
parent a5b86ae601
commit e16dbc4ca1
5 changed files with 25 additions and 9 deletions

View File

@@ -0,0 +1,16 @@
Add RISC-V 64bit support
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/third_party/boringssl/include/openssl/base.h
+++ b/third_party/boringssl/include/openssl/base.h
@@ -104,6 +104,9 @@ extern "C" {
#elif defined(__mips__) && defined(__LP64__)
#define OPENSSL_64_BIT
#define OPENSSL_MIPS64
+#elif defined(__riscv) && defined(__riscv_xlen)
+#define OPENSSL_64_BIT
+#define OPENSSL_RISCV64
#elif defined(__pnacl__)
#define OPENSSL_32_BIT
#define OPENSSL_PNACL