diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-12-23 10:46:51 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-12-23 13:29:20 -0800 |
commit | 7227733cbf8792444fe21fac729ab7f7d86a7866 (patch) | |
tree | de3c7476045986175bd326909381303e5d59ecfa /meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch | |
parent | b67fff759b0e4da1c380b340f380bdfd7dee7af5 (diff) | |
download | meta-openembedded-7227733cbf8792444fe21fac729ab7f7d86a7866.tar.gz |
python-grpcio: Upgrade to 1.17.1
Patch to fix ppc build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim "moto-timo" Orling <TicoTimo@gmail.com>
Cc: Derek Straka <derek@asterius.io>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch b/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch new file mode 100644 index 0000000000..6435abbe6d --- /dev/null +++ b/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Let boringSSL compile on ppc32 bit | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | |||
6 | --- a/third_party/boringssl/include/openssl/base.h | ||
7 | +++ b/third_party/boringssl/include/openssl/base.h | ||
8 | @@ -95,6 +95,9 @@ extern "C" { | ||
9 | #elif (defined(__PPC64__) || defined(__powerpc64__)) && defined(_LITTLE_ENDIAN) | ||
10 | #define OPENSSL_64_BIT | ||
11 | #define OPENSSL_PPC64LE | ||
12 | +#elif (defined(__PPC__) || defined(__powerpc__)) | ||
13 | +#define OPENSSL_32_BIT | ||
14 | +#define OPENSSL_PPC | ||
15 | #elif defined(__mips__) && !defined(__LP64__) | ||
16 | #define OPENSSL_32_BIT | ||
17 | #define OPENSSL_MIPS | ||