From 41927d78e275f66018b06a3fa80d97b84beb8c8b Mon Sep 17 00:00:00 2001 From: Alessandro Gatti Date: Sun, 22 Mar 2026 21:49:01 +0100 Subject: [PATCH] unix-ffi/_libc: Extend FreeBSD libc versions range. This commit adds support for more recent versions of FreeBSD to the _libc module. FreeBSD bumped up the major version of its libc library around 14.1-RELEASE, and the _libc module wasn't updated to keep track of this change. The current version of FreeBSD at the time of this commit is 15.0-RELEASE, so this change should unlock support for two major versions of the OS in question. This change might also work with other BSD-derived OSes, but it wasn't tested on those systems. This partially fixes #962. Signed-off-by: Alessandro Gatti --- unix-ffi/_libc/_libc.py | 2 +- unix-ffi/_libc/manifest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unix-ffi/_libc/_libc.py b/unix-ffi/_libc/_libc.py index 839b9d544..ff30225aa 100644 --- a/unix-ffi/_libc/_libc.py +++ b/unix-ffi/_libc/_libc.py @@ -4,7 +4,7 @@ _h = None -names = ("libc.so", "libc.so.0", "libc.so.6", "libc.dylib") +names = ("libc.so", "libc.so.0", "libc.so.6", "libc.so.7", "libc.dylib") def get(): diff --git a/unix-ffi/_libc/manifest.py b/unix-ffi/_libc/manifest.py index 61bf421b6..ce3f117af 100644 --- a/unix-ffi/_libc/manifest.py +++ b/unix-ffi/_libc/manifest.py @@ -1,6 +1,6 @@ metadata( description="MicroPython FFI helper module (deprecated, replaced by micropython-ffilib).", - version="0.3.1", + version="0.4.0", ) # Originally written by Paul Sokolovsky.