[Buildroot] [PATCH 1/2] package/libnet: fix compilation with musl

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Nov 15 10:38:58 UTC 2016


Hello,

On Mon, 14 Nov 2016 12:29:47 +0100, Tobias Klauser wrote:
> Patch taken from from upstream:
> https://github.com/sam-github/libnet/commit/ffd7fab744a9ad2893169a8fb6244074604d5d0d
> 
> Adjusted the file paths manually so the patch applies to the packaged
> libnet sources.
> 
> Signed-off-by: Tobias Klauser <tklauser at distanz.ch>
> ---
>  package/libnet/0001-support-musl-libc.patch | 50 +++++++++++++++++++++++++++++
>  1 file changed, 50 insertions(+)
>  create mode 100644 package/libnet/0001-support-musl-libc.patch

Adding the patch fixing the musl build issue is good... but if you
don't adjust the Config.in file of this package to re-enable it for
musl configurations, it's a bit useless, no?

So I've fixed that, and applied your patch to next. Thanks!

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



More information about the buildroot mailing list