mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 07:23:30 +08:00
78c27b3fbc
Resolves the following error when building against MUSL:
tools/attr.c: In function 'main':
tools/attr.c:69:20: error: implicit declaration of function 'basename'
[-Wimplicit-function-declaration]
69 | progname = basename(argv[0]);
| ^~~~~~~~
tools/attr.c:69:18: error: assignment to 'char *' from 'int' makes
pointer from integer without a cast [-Wint-conversion]
69 | progname = basename(argv[0]);
| ^
Upstream: https://git.savannah.nongnu.org/cgit/attr.git/commit/?id=8a80d895dfd779373363c3a4b62ecce5a549efb2
Fixes: http://autobuild.buildroot.net/results/c61206968eda9913e37e95a61dc3e10399503fcd/
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Romain: use upstream patch]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
(cherry picked from commit
|
||
---|---|---|
.. | ||
0001-build-with-older-GCCs.patch | ||
0002-configure.ac-add-detection-of-symver-gcc-attribute.patch | ||
0003-tools-attr.c-Add-missing-libgen.h-include-for-basena.patch | ||
attr.hash | ||
attr.mk | ||
Config.in |