diff options
| author | Rosen Penev <rosenp@gmail.com> | 2018-10-05 13:31:25 -0700 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2018-10-06 11:52:51 -0700 |
| commit | 93ea312b2ba0dd276783886c7d002eb26604a562 (patch) | |
| tree | e7e7e0fb1ef6061a2e8130d837865b8236ffd44a /lang/python/micropython/patches | |
| parent | d3b239d52351261eebaf39984d5b6df81e2f89b4 (diff) | |
micropython: Update to 1.94
Switched to normal tarballs for simplicity. Also rearanged Makefile.
Refreshed patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'lang/python/micropython/patches')
| -rw-r--r-- | lang/python/micropython/patches/000-Makefile-no-errors | 13 | ||||
| -rw-r--r-- | lang/python/micropython/patches/000-Makefile-no-errors.patch | 13 | ||||
| -rw-r--r-- | lang/python/micropython/patches/001-all-unix | 12 |
3 files changed, 13 insertions, 25 deletions
diff --git a/lang/python/micropython/patches/000-Makefile-no-errors b/lang/python/micropython/patches/000-Makefile-no-errors deleted file mode 100644 index 765f3e701..000000000 --- a/lang/python/micropython/patches/000-Makefile-no-errors +++ /dev/null @@ -1,13 +0,0 @@ -Index: micropython-1.5-20161117-e81a5353cb794b8d6c57317488e5db6a1c524755/unix/Makefile -=================================================================== ---- micropython-1.5-20161117-e81a5353cb794b8d6c57317488e5db6a1c524755.orig/unix/Makefile 2016-11-17 02:43:13.000000000 +0100 -+++ micropython-1.5-20161117-e81a5353cb794b8d6c57317488e5db6a1c524755/unix/Makefile 2016-11-17 16:49:02.937809018 +0100 -@@ -21,7 +21,7 @@ - INC += -I$(BUILD) - - # compiler settings --CWARN = -Wall -Werror -+CWARN = -Wall - CWARN += -Wpointer-arith -Wuninitialized - CFLAGS = $(INC) $(CWARN) -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA) - diff --git a/lang/python/micropython/patches/000-Makefile-no-errors.patch b/lang/python/micropython/patches/000-Makefile-no-errors.patch new file mode 100644 index 000000000..1ebfa4304 --- /dev/null +++ b/lang/python/micropython/patches/000-Makefile-no-errors.patch @@ -0,0 +1,13 @@ +diff --git a/ports/unix/Makefile b/ports/unix/Makefile +index cbdd3f3..0ab157d 100644 +--- a/ports/unix/Makefile ++++ b/ports/unix/Makefile +@@ -21,7 +21,7 @@ INC += -I$(TOP) + INC += -I$(BUILD) + + # compiler settings +-CWARN = -Wall -Werror ++CWARN = -Wall + CWARN += -Wpointer-arith -Wuninitialized + CFLAGS = $(INC) $(CWARN) -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA) + diff --git a/lang/python/micropython/patches/001-all-unix b/lang/python/micropython/patches/001-all-unix deleted file mode 100644 index 3497affbd..000000000 --- a/lang/python/micropython/patches/001-all-unix +++ /dev/null @@ -1,12 +0,0 @@ ---- 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> - |
