Skip to content

Commit

Permalink
Update micropython to version 1.19.1 / rev 8 via SR 1075027
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1075027
by user dirkmueller + dimstar_suse
- add 32572439984e5640c6af46fbe7c27400c30112ce.patch
  • Loading branch information
dirkmueller authored and bmwiedemann committed Mar 29, 2023
1 parent f181ec4 commit 6d1103e
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 1 deletion.
Binary file modified packages/m/micropython/.files
Binary file not shown.
8 changes: 8 additions & 0 deletions packages/m/micropython/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,12 @@
<comment></comment>
<requestid>1010201</requestid>
</revision>
<revision rev="8" vrev="3">
<srcmd5>5e1c71180e52e4c0a920b636971e2ff2</srcmd5>
<version>1.19.1</version>
<time>1680125221</time>
<user>dimstar_suse</user>
<comment>- add 32572439984e5640c6af46fbe7c27400c30112ce.patch</comment>
<requestid>1075027</requestid>
</revision>
</revisionlist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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;
}
5 changes: 5 additions & 0 deletions packages/m/micropython/micropython.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 28 14:42:22 UTC 2023 - Dirk Müller <dmueller@suse.com>

- add 32572439984e5640c6af46fbe7c27400c30112ce.patch

-------------------------------------------------------------------
Tue Oct 11 15:17:23 UTC 2022 - Andreas Schwab <schwab@suse.de>

Expand Down
4 changes: 3 additions & 1 deletion packages/m/micropython/micropython.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package micropython
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -24,6 +24,8 @@ License: MIT
Group: Development/Languages/Python
URL: https://micropython.org/
Source: https://micropython.org/resources/source/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM: fix build with gcc 13
Patch1: https://github.com/micropython/micropython/commit/32572439984e5640c6af46fbe7c27400c30112ce.patch
BuildRequires: openssl
BuildRequires: pkgconfig
BuildRequires: python3
Expand Down

0 comments on commit 6d1103e

Please sign in to comment.