diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-02-05 19:24:46 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-02-05 19:26:05 -0800 |
commit | 4b3e6289cd4c3615266e5d99476772096d88df42 (patch) | |
tree | 4396665e8e9fd8a6789725c2f40eef9848e301e7 /meta-python/recipes-devtools/python/python3-greenlet/0001-greenlet-Drop-using-register-storage-class-keyword.patch | |
parent | 6e3804a155da9bebe27023e2cb6bda7ebc746562 (diff) | |
download | meta-openembedded-4b3e6289cd4c3615266e5d99476772096d88df42.tar.gz |
python3-greenlet: Upgrade to 2.0.2
Drop backported patches as they are already in 2.0.2 release
Add a patch to cleanup register keyword usage
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-greenlet/0001-greenlet-Drop-using-register-storage-class-keyword.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-greenlet/0001-greenlet-Drop-using-register-storage-class-keyword.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-python/recipes-devtools/python/python3-greenlet/0001-greenlet-Drop-using-register-storage-class-keyword.patch b/meta-python/recipes-devtools/python/python3-greenlet/0001-greenlet-Drop-using-register-storage-class-keyword.patch deleted file mode 100644 index 5abe59279f..0000000000 --- a/meta-python/recipes-devtools/python/python3-greenlet/0001-greenlet-Drop-using-register-storage-class-keyword.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From aa505359a3bb5a954fe3c7fbd853c75802bf3533 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 16 Jan 2023 21:37:26 -0800 | ||
4 | Subject: [PATCH] greenlet: Drop using 'register' storage class keyword | ||
5 | |||
6 | This has been dropped in c++17 and newer | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/python-greenlet/greenlet/pull/336] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | src/greenlet/platform/switch_riscv_unix.h | 4 ++-- | ||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/src/greenlet/platform/switch_riscv_unix.h b/src/greenlet/platform/switch_riscv_unix.h | ||
15 | index 5b5ea98..24df9db 100644 | ||
16 | --- a/src/greenlet/platform/switch_riscv_unix.h | ||
17 | +++ b/src/greenlet/platform/switch_riscv_unix.h | ||
18 | @@ -11,8 +11,8 @@ | ||
19 | static int | ||
20 | slp_switch(void) | ||
21 | { | ||
22 | - register int ret; | ||
23 | - register long *stackref, stsizediff; | ||
24 | + int ret; | ||
25 | + long *stackref, stsizediff; | ||
26 | __asm__ volatile ("" : : : REGS_TO_SAVE); | ||
27 | __asm__ volatile ("mv %0, sp" : "=r" (stackref) : ); | ||
28 | { | ||
29 | -- | ||
30 | 2.39.0 | ||
31 | |||