[Buildroot] [PATCHv2] package/at: fix glibcism

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue May 5 20:43:08 UTC 2015


Dear Yann E. MORIN,

On Tue,  5 May 2015 19:57:48 +0200, Yann E. MORIN wrote:
> at needs __isleap() which is in (e)glibc and uClibc, but not in musl.
> 
> Add a patch (from Open Embedded) that removes use of the macros, and
> directly expands the corresponding code in lieu of the macro calls.
> 
> Fixes:
>     http://autobuild.buildroot.org/results/6f2/6f25e80e8aedec91323ef9b67576b550d7abee60/
>     http://autobuild.buildroot.org/results/da5/da5bb779f3077b079203fcbdb2533dd790963cd4/
>     http://autobuild.buildroot.org/results/8a6/8a6ce608c6f46d08ed77049f796e98e6e10a1709/
>     ...
> 
> Thanks to Jörg for pointing to the OE patch! :-)
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Jörg Krause <joerg.krause at embedded.rocks>
> ---
>  .../at/0008-remove-glibc-__isleap-assumption.patch | 59 ++++++++++++++++++++++
>  1 file changed, 59 insertions(+)
>  create mode 100644 package/at/0008-remove-glibc-__isleap-assumption.patch

Applied, thanks.

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


More information about the buildroot mailing list