[Buildroot] [PATCH 1/1] package/wpa_supplicant: Add patch to fix build error with musl

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 3 22:18:04 UTC 2014


Dear Jörg Krause,

On Wed,  3 Dec 2014 23:03:47 +0100, Jörg Krause wrote:
> Add a patch to allow building wpa_supplicant with the musl C library.
> 
> Building wpa_supplicant with the musl C library fails since musl does not
> define type names such as '__uint32_t'. To support building wpa_supplicant
> with the musl C library use the integer types declared in the ISO C standard
> header file <stdint.h>.
> 
> Patch is sent upstream:
> http://lists.shmoo.com/pipermail/hostap/2014-December/031464.html
> 
> Signed-off-by: Jörg Krause <jkrause at posteo.de>
> ---
>  .../wpa_supplicant-0001-fix-musl-build-error.patch | 45 ++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
>  create mode 100644 package/wpa_supplicant/wpa_supplicant-0001-fix-musl-build-error.patch

Tested-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

wpa_supplicant indeed doesn't build with musl without this patch, and
builds fine with this patch applied. And the patch looks sane.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list