summaryrefslogtreecommitdiff
path: root/lang/micropython/files/patch-tests_unix_ffi__callback.py
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2021-09-09 11:10:17 +0200
committerKai Knoblich <kai@FreeBSD.org>2021-09-09 11:10:17 +0200
commit31d969833496d51cd1b6fd83121dbec79848fc06 (patch)
tree2ec016333d72d5d31271e056ffe083504b5d5811 /lang/micropython/files/patch-tests_unix_ffi__callback.py
parent*: Deprecate Django 3.1 and its consumers (diff)
lang/micropython: Update to 1.17
* Switch to GCC because building with Clang leads to a broken "mpy-cross" binary, which segfaults if issued with several parameters during build. * REINPLACE_CMD should not be used to replace static content, hence convert those occurrences into patches. * Also update pkg-descr and sort variables a bit according to the PHB. Reviewed by: decke (earlier revision) Approved by: kai (python, maintainer) Differential Revision: https://reviews.freebsd.org/D31855
Diffstat (limited to 'lang/micropython/files/patch-tests_unix_ffi__callback.py')
-rw-r--r--lang/micropython/files/patch-tests_unix_ffi__callback.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/micropython/files/patch-tests_unix_ffi__callback.py b/lang/micropython/files/patch-tests_unix_ffi__callback.py
new file mode 100644
index 000000000000..e14f0e237b1d
--- /dev/null
+++ b/lang/micropython/files/patch-tests_unix_ffi__callback.py
@@ -0,0 +1,13 @@
+Required to let pass the test "ffi_callback" successfully
+
+--- tests/unix/ffi_callback.py.orig 2021-09-04 05:46:01 UTC
++++ tests/unix/ffi_callback.py
+@@ -16,7 +16,7 @@ def ffi_open(names):
+ raise err
+
+
+-libc = ffi_open(("libc.so", "libc.so.0", "libc.so.6", "libc.dylib"))
++libc = ffi_open(("libc.so", "libc.so.0", "libc.so.7", "libc.dylib"))
+
+ qsort = libc.func("v", "qsort", "piip")
+