kumquat-buildroot/package/btrfs-progs
Fabrice Fontaine f363bc2958 package/btrfs-progs: fix musl build
Fix the following musl build failure raised since bump to version 5.15.1
in commit 20181c3f1b:

In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/i586-buildroot-linux-musl/sysroot/usr/include/linux/kernel.h:4,
                 from ./kerncompat.h:31,
                 from common/utils.c:42:
/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/i586-buildroot-linux-musl/sysroot/usr/include/linux/sysinfo.h:7:8: error: redefinition of 'struct sysinfo'
    7 | struct sysinfo {
      |        ^~~~~~~
In file included from common/utils.c:27:
/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/i586-buildroot-linux-musl/sysroot/usr/include/sys/sysinfo.h:10:8: note: originally defined here
   10 | struct sysinfo {
      |        ^~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/16f44fb9dea72a7079e8e5517e760dd79d2724cc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-11 21:32:38 +01:00
..
0001-btrfs-progs-include-linux-const-h-to-fix-build-with-5-12-headers.patch package/btrfs-progs: fix musl build 2022-01-11 21:32:38 +01:00
0002-btrfs-progs-include-sys-sysinfo-h-conditionally-on-musl.patch package/btrfs-progs: fix musl build 2022-01-11 21:32:38 +01:00
btrfs-progs.hash package/btrfs-progs: bump version to 5.15.1 2022-01-08 15:48:55 +01:00
btrfs-progs.mk package/btrfs-progs: fix build on kernel < 5.10 2022-01-09 23:45:11 +01:00
Config.in
Config.in.host