summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-01 00:10:19 +0000
committerSam James <sam@gentoo.org>2022-01-01 00:10:32 +0000
commitde6cb5ec34088e967ec58b0ea1f73972e6cad3b9 (patch)
tree074a0bc83f3d0099f699d594b75bc6b1f432b57e /sys-kernel/linux-headers
parentdev-python/identify: add 2.4.1 (diff)
downloadgentoo-de6cb5ec34088e967ec58b0ea1f73972e6cad3b9.tar.gz
gentoo-de6cb5ec34088e967ec58b0ea1f73972e6cad3b9.tar.bz2
gentoo-de6cb5ec34088e967ec58b0ea1f73972e6cad3b9.zip
sys-kernel/linux-headers: fix musl patch for 5.15
Closes: https://bugs.gentoo.org/830338 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-5.15-remove-inclusion-sysinfo.h.patch11
1 files 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 */