aboutsummaryrefslogtreecommitdiff
path: root/lang/micropython/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/micropython/files')
-rw-r--r--lang/micropython/files/patch-builtinimport.c14
-rw-r--r--lang/micropython/files/patch-modtime.c11
-rw-r--r--lang/micropython/files/patch-objfun.c14
-rw-r--r--lang/micropython/files/patch-runtime.c14
4 files changed, 0 insertions, 53 deletions
diff --git a/lang/micropython/files/patch-builtinimport.c b/lang/micropython/files/patch-builtinimport.c
deleted file mode 100644
index b88a23b5d958..000000000000
--- a/lang/micropython/files/patch-builtinimport.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ../py/builtinimport.c.orig 2014-06-05 06:09:16.000000000 +0200
-+++ ../py/builtinimport.c 2014-06-05 06:09:56.000000000 +0200
-@@ -28,7 +28,11 @@
- #include <stdio.h>
- #include <string.h>
- #include <assert.h>
-+#ifndef __FreeBSD__
- #include <alloca.h>
-+#else
-+#include <stdlib.h>
-+#endif
-
- #include "mpconfig.h"
- #include "nlr.h"
diff --git a/lang/micropython/files/patch-modtime.c b/lang/micropython/files/patch-modtime.c
deleted file mode 100644
index 0a8fd1312463..000000000000
--- a/lang/micropython/files/patch-modtime.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- modtime.c.orig 2014-06-05 20:07:38.000000000 +0200
-+++ modtime.c 2014-06-06 07:58:58.000000000 +0200
-@@ -59,6 +59,8 @@
- #define CLOCK_DIV 1000.0
- #elif defined(MP_CLOCKS_PER_SEC) && (MP_CLOCKS_PER_SEC == 1000) // WIN32
- #define CLOCK_DIV 1.0
-+#elif defined(__FreeBSD__) && (MP_CLOCKS_PER_SEC == 128)
-+#define CLOCK_DIV (1.0 / 128.0)
- #else
- #error Unsupported clock() implementation
- #endif
diff --git a/lang/micropython/files/patch-objfun.c b/lang/micropython/files/patch-objfun.c
deleted file mode 100644
index fe0ee281fd9e..000000000000
--- a/lang/micropython/files/patch-objfun.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ../py/objfun.c.orig 2014-06-04 22:09:47.000000000 +0200
-+++ ../py/objfun.c 2014-06-04 22:10:16.000000000 +0200
-@@ -27,7 +27,11 @@
- #include <stdbool.h>
- #include <string.h>
- #include <assert.h>
-+#ifndef __FreeBSD__
- #include <alloca.h>
-+#else
-+#include <stdlib.h>
-+#endif
-
- #include "mpconfig.h"
- #include "nlr.h"
diff --git a/lang/micropython/files/patch-runtime.c b/lang/micropython/files/patch-runtime.c
deleted file mode 100644
index 264f57ecc377..000000000000
--- a/lang/micropython/files/patch-runtime.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ../py/runtime.c.orig 2014-06-04 22:05:32.000000000 +0200
-+++ ../py/runtime.c 2014-06-04 22:06:16.000000000 +0200
-@@ -27,7 +27,11 @@
- #include <stdio.h>
- #include <string.h>
- #include <assert.h>
-+#ifndef __FreeBSD__
- #include <alloca.h>
-+#else
-+#include <stdlib.h> /* alloca() */
-+#endif
-
- #include "mpconfig.h"
- #include "nlr.h"