forked from pool/micropython
Accepting request 1075027 from devel:languages:python
- add 32572439984e5640c6af46fbe7c27400c30112ce.patch OBS-URL: https://build.opensuse.org/request/show/1075027 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=8
This commit is contained in:
25
32572439984e5640c6af46fbe7c27400c30112ce.patch
Normal file
25
32572439984e5640c6af46fbe7c27400c30112ce.patch
Normal file
@@ -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;
|
||||||
|
}
|
||||||
@@ -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>
|
Tue Oct 11 15:17:23 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package micropython
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,6 +24,8 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://micropython.org/
|
URL: https://micropython.org/
|
||||||
Source: https://micropython.org/resources/source/%{name}-%{version}.tar.xz
|
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: openssl
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
|
|||||||
Reference in New Issue
Block a user