package/mdadm: fix build with musl libc
authorBaruch Siach <baruch@tkos.co.il>
Tue, 6 Aug 2019 13:17:57 +0000 (16:17 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 6 Aug 2019 20:15:08 +0000 (22:15 +0200)
commit735b2fe88080d876ad7063912cc2e1f58a628850
tree99b168f4c52b10120f07ddc611d141dc14f5c286
parent68bf8420c1e5ebd0eedabf0098ad2b5c4d4fa840
package/mdadm: fix build with musl libc

Add a patch to make sys/sysmacros.h include unconditional for the
major/minor macros. musl libc recently removed include of
sys/sysmacros.h from sys/types.h (musl commit a31a30a0076c28).

Fixes:
http://autobuild.buildroot.net/results/37d6b351f989ceaf1acf0fe0b3b9be6d1c5c300e/
http://autobuild.buildroot.net/results/a0d9b49c99b36468e2ef506d55a1c3cbbcf43a4e/
http://autobuild.buildroot.net/results/979b5e9dd8fb27969ed6bd0b82d9dd5f88b2b986/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mdadm/0002-mdadm.h-include-sysmacros.h-unconditionally.patch [new file with mode: 0644]