Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-headers/files/
Date: Sat, 01 Jan 2022 00:10:51
Message-Id: 1640995832.de6cb5ec34088e967ec58b0ea1f73972e6cad3b9.sam@gentoo
1 commit: de6cb5ec34088e967ec58b0ea1f73972e6cad3b9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 1 00:10:19 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 1 00:10:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6cb5ec
7
8 sys-kernel/linux-headers: fix musl patch for 5.15
9
10 Closes: https://bugs.gentoo.org/830338
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch | 11 ++++++-----
14 1 file changed, 6 insertions(+), 5 deletions(-)
15
16 diff --git a/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch b/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch
17 index 11760b93227c..aa52ff9bd141 100644
18 --- a/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch
19 +++ b/sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch
20 @@ -13,12 +13,13 @@ as none of its functionality is needed.
21
22 --- a/include/uapi/linux/kernel.h
23 +++ b/include/uapi/linux/kernel.h
24 -@@ -4,7 +4,7 @@
25 +@@ -2,7 +2,9 @@
26 + #ifndef _UAPI_LINUX_KERNEL_H
27 + #define _UAPI_LINUX_KERNEL_H
28
29 - #ifdef __GLIBC__
30 ++#ifdef __GLIBC__
31 #include <linux/sysinfo.h>
32 --#include <linux/const.h>
33 - #endif
34 -+#include <linux/const.h>
35 ++#endif
36 + #include <linux/const.h>
37
38 #endif /* _UAPI_LINUX_KERNEL_H */