[Buildroot] [PATCH 1/2] package/libnpth: fix musl build
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Apr 8 20:59:12 UTC 2024
On Sun, 7 Apr 2024 11:21:04 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
> Fix the following musl build failure raised since bump to version 1.7 in
> commit 3ef4d24192b20bd1eb5e34c9fa2a6aa5bde91f91 and
> https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git;a=commit;h=575573b5b63e147b1906240f192dbe37a26ca4b9:
>
> npth.c:392:21: error: unknown type name 'npth_rwlock_t'; did you mean 'npth_cond_t'?
> 392 | npth_rwlock_rdlock (npth_rwlock_t *rwlock)
> | ^~~~~~~~~~~~~
> | npth_cond_t
>
> Fixes: 3ef4d24192b20bd1eb5e34c9fa2a6aa5bde91f91
> - http://autobuild.buildroot.org/results/d986ba27b734679fd70b4e0f23278ebd38e13c5d
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
> ...EXPOSE_RWLOCK_API-for-musl-C-library.patch | 37 +++++++++++++++++++
> package/libnpth/libnpth.mk | 2 +
> 2 files changed, 39 insertions(+)
> create mode 100644 package/libnpth/0001-Fix-INSERT_EXPOSE_RWLOCK_API-for-musl-C-library.patch
Both applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list