summaryrefslogtreecommitdiff
path: root/dev-lang/micropython/files
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2025-03-28 08:02:44 +0100
committerConrad Kostecki <conikost@gentoo.org>2025-03-28 22:06:18 +0100
commitde10174be1f31d3fee15614e5109b9cb91910ef9 (patch)
tree6758bf2ea05a32b903bb2e7c94e6e7af8c224485 /dev-lang/micropython/files
parent10651a8d43f470098dd3f38e4c2a6409ef2e040e (diff)
downloadgentoo-de10174be1f31d3fee15614e5109b9cb91910ef9.tar.gz
gentoo-de10174be1f31d3fee15614e5109b9cb91910ef9.tar.bz2
gentoo-de10174be1f31d3fee15614e5109b9cb91910ef9.zip
dev-lang/micropython: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lang/micropython/files')
-rw-r--r--dev-lang/micropython/files/micropython-1.17-exclude-float-parse-tests.patch11
-rw-r--r--dev-lang/micropython/files/micropython-1.17-gcc13-build-fix.patch62
-rw-r--r--dev-lang/micropython/files/micropython-1.17-prevent-stripping.patch12
3 files changed, 0 insertions, 85 deletions
diff --git a/dev-lang/micropython/files/micropython-1.17-exclude-float-parse-tests.patch b/dev-lang/micropython/files/micropython-1.17-exclude-float-parse-tests.patch
deleted file mode 100644
index 8f44d31fd96f..000000000000
--- a/dev-lang/micropython/files/micropython-1.17-exclude-float-parse-tests.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/tests/run-tests.py 2021-10-25 12:25:48.422212212 -0000
-+++ b/tests/run-tests.py 2021-10-25 12:26:01.382135667 -0000
-@@ -521,6 +521,8 @@
- "micropython/opt_level_lineno.py"
- ) # native doesn't have proper traceback info
- skip_tests.add("micropython/schedule.py") # native code doesn't check pending events
-+ skip_tests.add("float/float_parse_doubleprec.py")
-+ skip_tests.add("float/float_parse.py")
-
- def run_one_test(test_file):
- test_file = test_file.replace("\\", "/")
diff --git a/dev-lang/micropython/files/micropython-1.17-gcc13-build-fix.patch b/dev-lang/micropython/files/micropython-1.17-gcc13-build-fix.patch
deleted file mode 100644
index 306db8d9caa8..000000000000
--- a/dev-lang/micropython/files/micropython-1.17-gcc13-build-fix.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-https://github.com/micropython/micropython/pull/11402
-https://github.com/micropython/micropython/commit/32572439984e5640c6af46fbe7c27400c30112ce
-
-From f1c6cb7725960487195daa5c5c196fd8d3563811 Mon Sep 17 00:00:00 2001
-From: Damien George <damien@micropython.org>
-Date: Wed, 3 May 2023 15:23:24 +1000
-Subject: [PATCH] py/stackctrl: Add gcc pragmas to ignore dangling-pointer
- warning.
-
-This warning became apparent in gcc 13.
-
-Signed-off-by: Damien George <damien@micropython.org>
----
- py/stackctrl.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/py/stackctrl.c b/py/stackctrl.c
-index c2f3adb5eedc..c2566ebad92b 100644
---- a/py/stackctrl.c
-+++ b/py/stackctrl.c
-@@ -28,8 +28,15 @@
- #include "py/stackctrl.h"
-
- void mp_stack_ctrl_init(void) {
-+ #if __GNUC__ >= 13
-+ #pragma GCC diagnostic push
-+ #pragma GCC diagnostic ignored "-Wdangling-pointer"
-+ #endif
- volatile int stack_dummy;
- MP_STATE_THREAD(stack_top) = (char *)&stack_dummy;
-+ #if __GNUC__ >= 13
-+ #pragma GCC diagnostic pop
-+ #endif
- }
-
- void mp_stack_set_top(void *top) {
-
-From 32572439984e5640c6af46fbe7c27400c30112ce Mon Sep 17 00:00:00 2001
-From: Damien George <damien@micropython.org>
-Date: Tue, 7 Mar 2023 14:46:22 +1100
-Subject: [PATCH] mpy-cross/main: Fix return type of mp_import_stat.
-
-Fixes issue #10951.
-
-Signed-off-by: Damien George <damien@micropython.org>
----
- mpy-cross/main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/mpy-cross/main.c b/mpy-cross/main.c
-index 13bb17b13dba..8a4dd5bcbed5 100644
---- a/mpy-cross/main.c
-+++ b/mpy-cross/main.c
-@@ -344,7 +344,7 @@ int main(int argc, char **argv) {
- return main_(argc, argv);
- }
-
--uint mp_import_stat(const char *path) {
-+mp_import_stat_t mp_import_stat(const char *path) {
- (void)path;
- return MP_IMPORT_STAT_NO_EXIST;
- }
diff --git a/dev-lang/micropython/files/micropython-1.17-prevent-stripping.patch b/dev-lang/micropython/files/micropython-1.17-prevent-stripping.patch
deleted file mode 100644
index 1c5380ed883b..000000000000
--- a/dev-lang/micropython/files/micropython-1.17-prevent-stripping.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/py/mkrules.mk 2021-10-25 12:30:13.723695503 -0000
-+++ b/py/mkrules.mk 2021-10-25 12:30:18.460327366 -0000
-@@ -198,9 +198,6 @@
- # Do not pass COPT here - it's *C* compiler optimizations. For example,
- # we may want to compile using Thumb, but link with non-Thumb libc.
- $(Q)$(CC) -o $@ $^ $(LIB) $(LDFLAGS)
--ifndef DEBUG
-- $(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $@
--endif
- $(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $@
-
- clean: clean-prog