new file mode 100644
@@ -0,0 +1,31 @@
+From da488ba5efe20b115e030c9212403358ff313d0a Mon Sep 17 00:00:00 2001
+From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
+Date: Fri, 19 Dec 2025 12:08:39 +0100
+Subject: [PATCH] build: add uClibc case
+
+Building the package in Buildroot with uClibc raises the following error:
+
+Configure: error: unknown ABI selection for time_macros
+
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
+Upstream: https://gitlab.freedesktop.org/libbsd/libbsd/-/merge_requests/32
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 2a15d720f9db..55cbb2d7837a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -148,7 +148,7 @@ AS_CASE([$host_os],
+ abi_vis=yes
+ abi_wcsl=yes
+ ],
+- [*-musl*], [
++ [*-musl* | *-uclibc*], [
+ api_time_macros=no
+
+ abi_accmode=yes
+--
+2.43.0
+
@@ -11,6 +11,7 @@ LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-5-Clause, \
MIT, ISC, Beerware
LIBBSD_LICENSE_FILES = COPYING
LIBBSD_CPE_ID_VENDOR = freedesktop
+LIBBSD_AUTORECONF = YES
LIBBSD_INSTALL_STAGING = YES
LIBBSD_DEPENDENCIES = libmd
Building the package with uClibc raises the following error: Configure: error: unknown ABI selection for time_macros Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- .../libbsd/0001-build-add-uClibc-case.patch | 31 +++++++++++++++++++ package/libbsd/libbsd.mk | 1 + 2 files changed, 32 insertions(+) create mode 100644 package/libbsd/0001-build-add-uClibc-case.patch