summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch32
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb1
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
new file mode 100644
index 000000000..f970cf3c3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
@@ -0,0 +1,32 @@
1From 752e30eebe5b91c323bafcbea8d450dd5683701a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 30 Jan 2023 10:31:10 -0800
4Subject: [PATCH] Include missing <cstdint> header
5
6gcc 13 moved some includes around and as a result <cstdint> is
7no longer transitively included [1]. Explicitly include it for
8int32_t.
9
10[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
11
12Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 third_party/re2/util/pcre.h | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/third_party/re2/util/pcre.h b/third_party/re2/util/pcre.h
19index 896b0bd..271a005 100644
20--- a/third_party/re2/util/pcre.h
21+++ b/third_party/re2/util/pcre.h
22@@ -163,6 +163,7 @@
23
24 #include "util/util.h"
25 #include "re2/stringpiece.h"
26+#include <cstdint>
27
28 #ifdef USEPCRE
29 #include <pcre.h>
30--
312.39.1
32
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb
index b0971db1c..3d45c56b0 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb
@@ -10,6 +10,7 @@ SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch"
10SRC_URI:append:class-target = " file://ppc-boringssl-support.patch \ 10SRC_URI:append:class-target = " file://ppc-boringssl-support.patch \
11 file://boring_ssl.patch \ 11 file://boring_ssl.patch \
12 file://mips_bigendian.patch \ 12 file://mips_bigendian.patch \
13 file://0001-Include-missing-cstdint-header.patch \
13 file://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \ 14 file://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \
14" 15"
15SRC_URI[sha256sum] = "e6dfc2b6567b1c261739b43d9c59d201c1b89e017afd9e684d85aa7a186c9f7a" 16SRC_URI[sha256sum] = "e6dfc2b6567b1c261739b43d9c59d201c1b89e017afd9e684d85aa7a186c9f7a"