public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/files/
@ 2020-06-02  4:28 Aaron Bauman
  0 siblings, 0 replies; 3+ messages in thread
From: Aaron Bauman @ 2020-06-02  4:28 UTC (permalink / raw
  To: gentoo-commits

commit:     17553ced6eebad9a20b7940a4e09f7995e488d5a
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue May 19 19:14:16 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Tue Jun  2 04:27:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17553ced

dev-lang/micropython: remove unused patches

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 .../micropython-1.9.3-prevent-stripping.patch      | 22 ----------------------
 .../micropython-1.9.4-prevent-stripping.patch      | 22 ----------------------
 2 files changed, 44 deletions(-)

diff --git a/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch b/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch
deleted file mode 100644
index 5ae7299f9f9..00000000000
--- a/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/py/mkenv.mk	2017-11-25 09:52:30.921836372 +0000
-+++ a/py/mkenv.mk	2017-11-25 09:52:35.257861233 +0000
-@@ -50,7 +50,6 @@
- LD = $(CROSS_COMPILE)ld
- OBJCOPY = $(CROSS_COMPILE)objcopy
- SIZE = $(CROSS_COMPILE)size
--STRIP = $(CROSS_COMPILE)strip
- AR = $(CROSS_COMPILE)ar
- ifeq ($(MICROPY_FORCE_32BIT),1)
- CC += -m32
---- a/py/mkrules.mk	2017-11-25 09:53:13.107078063 +0000
-+++ a/py/mkrules.mk	2017-11-25 09:53:31.898185592 +0000
-@@ -132,9 +132,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) $(PROG)
--endif
- 	$(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG)
- 
- clean: clean-prog

diff --git a/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch b/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch
deleted file mode 100644
index a130b72b613..00000000000
--- a/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/py/mkenv.mk	2017-11-25 09:52:30.921836372 +0000
-+++ a/py/mkenv.mk	2017-11-25 09:52:35.257861233 +0000
-@@ -50,7 +50,6 @@
- LD = $(CROSS_COMPILE)ld
- OBJCOPY = $(CROSS_COMPILE)objcopy
- SIZE = $(CROSS_COMPILE)size
--STRIP = $(CROSS_COMPILE)strip
- AR = $(CROSS_COMPILE)ar
- ifeq ($(MICROPY_FORCE_32BIT),1)
- CC += -m32
---- a/py/mkrules.mk	2017-11-25 09:53:13.107078063 +0000
-+++ a/py/mkrules.mk	2017-11-25 09:53:31.898185592 +0000
-@@ -129,9 +129,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) $(PROG)
--endif
- 	$(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG)
- 
- clean: clean-prog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/files/
@ 2024-01-20 13:33 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-01-20 13:33 UTC (permalink / raw
  To: gentoo-commits

commit:     dcd8a957b5ace0f8f933d6b46ec8f590256e7a0d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 13:31:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 13:31:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd8a957

dev-lang/micropython: add upstream links to commits

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/micropython/files/micropython-1.17-gcc13-build-fix.patch | 3 +++
 1 file changed, 3 insertions(+)

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
index d791227a9a3c..306db8d9caa8 100644
--- a/dev-lang/micropython/files/micropython-1.17-gcc13-build-fix.patch
+++ b/dev-lang/micropython/files/micropython-1.17-gcc13-build-fix.patch
@@ -1,3 +1,6 @@
+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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/files/
@ 2025-03-28 21:06 Conrad Kostecki
  0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2025-03-28 21:06 UTC (permalink / raw
  To: gentoo-commits

commit:     de10174be1f31d3fee15614e5109b9cb91910ef9
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Mar 28 07:02:44 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 21:06:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de10174b

dev-lang/micropython: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 ...icropython-1.17-exclude-float-parse-tests.patch | 11 ----
 .../files/micropython-1.17-gcc13-build-fix.patch   | 62 ----------------------
 .../files/micropython-1.17-prevent-stripping.patch | 12 -----
 3 files changed, 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-28 21:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-20 13:33 [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2025-03-28 21:06 Conrad Kostecki
2020-06-02  4:28 Aaron Bauman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox