From 9c00bf177685e01053e5d384ddb2053ec9d05e1f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 24 Mar 2024 22:50:33 -0700 Subject: wpantund: Update to latest Add patch to support portable basename Signed-off-by: Khem Raj --- .../openthread/wpantund/basename.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-networking/recipes-connectivity/openthread/wpantund/basename.patch (limited to 'meta-networking/recipes-connectivity/openthread/wpantund/basename.patch') diff --git a/meta-networking/recipes-connectivity/openthread/wpantund/basename.patch b/meta-networking/recipes-connectivity/openthread/wpantund/basename.patch new file mode 100644 index 000000000..30bd9e59c --- /dev/null +++ b/meta-networking/recipes-connectivity/openthread/wpantund/basename.patch @@ -0,0 +1,19 @@ +include libgen.h for getting prototype for basename() +Newer musl has remove prototype from string.h [1] +which renders a compile error with newer compilers like +clang 18+ about missing prototype. + +[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- a/third_party/openthread/tools/spi-hdlc-adapter/spi-hdlc-adapter.c ++++ b/third_party/openthread/tools/spi-hdlc-adapter/spi-hdlc-adapter.c +@@ -32,6 +32,7 @@ + #endif + + #include ++#include + #include + #include + #include -- cgit v1.2.3-54-g00ecf