ports/lang/micropython/files/patch-tests_unix_ffi__float.py
Kai Knoblich 31d9698334 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
2021-09-09 11:10:17 +02:00

13 lines
392 B
Python

Required to let pass the test "ffi_float" successfully
--- tests/unix/ffi_float.py.orig 2021-09-04 05:47:22 UTC
+++ tests/unix/ffi_float.py
@@ -17,7 +17,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"))
try:
strtof = libc.func("f", "strtof", "sp")