commit:     de6cb5ec34088e967ec58b0ea1f73972e6cad3b9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 00:10:19 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 00:10:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6cb5ec

sys-kernel/linux-headers: fix musl patch for 5.15

Closes: https://bugs.gentoo.org/830338
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

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
index 11760b93227c..aa52ff9bd141 100644
--- 
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
@@ -13,12 +13,13 @@ as none of its functionality is needed.
 
 --- a/include/uapi/linux/kernel.h
 +++ b/include/uapi/linux/kernel.h
-@@ -4,7 +4,7 @@
+@@ -2,7 +2,9 @@
+ #ifndef _UAPI_LINUX_KERNEL_H
+ #define _UAPI_LINUX_KERNEL_H
  
- #ifdef __GLIBC__
++#ifdef __GLIBC__
  #include <linux/sysinfo.h>
--#include <linux/const.h>
- #endif
-+#include <linux/const.h>
++#endif
+ #include <linux/const.h>
  
  #endif /* _UAPI_LINUX_KERNEL_H */

Reply via email to