summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-01 21:14:21 +0000
committerSam James <sam@gentoo.org>2021-12-01 21:15:12 +0000
commit3b21e04ca20bd47d68d4971a7bc0f1076447b9f3 (patch)
treeb8590c67e9480d8aeb9bbd0254272368f666e96c /sys-kernel
parentapp-doc/doxygen: Drop 1.8.17-r1 and 1.8.20 (diff)
downloadgentoo-3b21e04ca20bd47d68d4971a7bc0f1076447b9f3.tar.gz
gentoo-3b21e04ca20bd47d68d4971a7bc0f1076447b9f3.tar.bz2
gentoo-3b21e04ca20bd47d68d4971a7bc0f1076447b9f3.zip
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>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-headers/linux-headers-5.15-r1.ebuild (renamed from sys-kernel/linux-headers/linux-headers-5.15.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/linux-headers-5.15.ebuild b/sys-kernel/linux-headers/linux-headers-5.15-r1.ebuild
index 8ac754c008de..ec21c8e94f69 100644
--- a/sys-kernel/linux-headers/linux-headers-5.15.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-5.15-r1.ebuild
@@ -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
}