diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-03-05 19:21:15 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-03-06 11:32:27 -0800 |
commit | e16dbc4ca18d06832e80920c7e57cfbe024e4ff3 (patch) | |
tree | 6e82103f9ea9be81df2f237938167d2014262ee8 /meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch | |
parent | a5b86ae601dc561152ddaa82c875594f923f4662 (diff) | |
download | meta-openembedded-e16dbc4ca18d06832e80920c7e57cfbe024e4ff3.tar.gz |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch b/meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch new file mode 100644 index 0000000000..fef7d9e757 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Add RISC-V 64bit support | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | --- a/third_party/boringssl/include/openssl/base.h | ||
6 | +++ b/third_party/boringssl/include/openssl/base.h | ||
7 | @@ -104,6 +104,9 @@ extern "C" { | ||
8 | #elif defined(__mips__) && defined(__LP64__) | ||
9 | #define OPENSSL_64_BIT | ||
10 | #define OPENSSL_MIPS64 | ||
11 | +#elif defined(__riscv) && defined(__riscv_xlen) | ||
12 | +#define OPENSSL_64_BIT | ||
13 | +#define OPENSSL_RISCV64 | ||
14 | #elif defined(__pnacl__) | ||
15 | #define OPENSSL_32_BIT | ||
16 | #define OPENSSL_PNACL | ||