summaryrefslogtreecommitdiff
path: root/lang/python/micropython/patches
diff options
context:
space:
mode:
authorAnton Patrushev <apatrushev@gmail.com>2017-09-22 22:54:38 +0500
committerAnton Patrushev <apatrushev@gmail.com>2017-09-23 16:51:06 +0500
commitdc0b2e60a7263bac3e3245b2058b7a12095f2cb9 (patch)
treeda907fc166a6a24c886a37dcb39d27f8a067f628 /lang/python/micropython/patches
parente2513afdaa51d8a30b971c9857cbea5a3cb9f51b (diff)
micropython: updated to v1.9.2, micropython-lib: updated to v1.9
Signed-off-by: Anton Patrushev <apatrushev@gmail.com>
Diffstat (limited to 'lang/python/micropython/patches')
-rw-r--r--lang/python/micropython/patches/001-all-unix12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/python/micropython/patches/001-all-unix b/lang/python/micropython/patches/001-all-unix
new file mode 100644
index 000000000..3497affbd
--- /dev/null
+++ b/lang/python/micropython/patches/001-all-unix
@@ -0,0 +1,12 @@
+--- a/py/persistentcode.c 2017-09-22 13:26:04.914339465 +0000
++++ b/py/persistentcode.c 2017-09-22 13:26:22.618319621 +0000
+@@ -373,7 +373,7 @@
+
+ // here we define mp_raw_code_save_file depending on the port
+ // TODO abstract this away properly
+
+-#if defined(__i386__) || defined(__x86_64__) || (defined(__arm__) && (defined(__unix__)))
++#if defined(__i386__) || defined(__x86_64__) || defined(__unix__)
+
+ #include <unistd.h>
+