sys-kernel/linux-headers: fix build failure of linux sources on musl

Closes: https://bugs.gentoo.org/827927
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-12-01 21:14:21 +00:00
parent 39dd36d816
commit 3b21e04ca2

View File

@@ -30,6 +30,11 @@ src_unpack() {
}
src_prepare() {
if use elibc_musl ; then
# TODO: May need forward porting to newer versions
eapply "${FILESDIR}"/${PN}-5.10-Use-stddefs.h-instead-of-compiler.h.patch
fi
# avoid kernel-2_src_prepare
default
}