[Buildroot] [PATCH 1/2] package/dmalloc: fix strndup detection

Peter Korsgaard peter at korsgaard.com
Sun Jun 19 13:41:48 UTC 2022


On 10/06/2022 23.05, Fabrice Fontaine wrote:
> Fix strndup detection as already done for strdup in commit
> f9287b263f0808c2f0632aa1560d88e39fbf970b to avoid the following build
> failure raised since bump to version 5.6.5 in commit
> 736932c71552adc4dfa95c5236d1064860900e8a:
> 
> In file included from /nvmedata/autobuild/instance-0/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/string.h:630:0,
>                   from append.c:34:
> dmalloc.h:396:7: error: expected identifier or '(' before '__extension__'
>   char *strndup(const char *string, const DMALLOC_SIZE max_len);
>         ^
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/2164dac43e2607a3570e8f98957a70f579d06cd3
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed to 2022.05.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list