diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2014-06-07 11:16:08 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2014-06-07 11:16:08 +0000 |
commit | 00cf5a8d862c2281f04afd56b1a84012470900d7 (patch) | |
tree | 5265f5701ff1f6d0f792542c35c3928af6d5a06d /lang/micropython/files/patch-objfun.c | |
parent | * Better GUI support [1] (diff) |
Micro Python is a lean and fast implementation of the Python 3 programming
language that is optimised to run on a microcontroller.
WWW: http://www.micropython.org
Diffstat (limited to 'lang/micropython/files/patch-objfun.c')
-rw-r--r-- | lang/micropython/files/patch-objfun.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/micropython/files/patch-objfun.c b/lang/micropython/files/patch-objfun.c new file mode 100644 index 000000000000..fe0ee281fd9e --- /dev/null +++ b/lang/micropython/files/patch-objfun.c @@ -0,0 +1,14 @@ +--- ../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" |