diff options
author | Sam James <sam@gentoo.org> | 2024-10-11 02:53:57 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-11 02:53:57 +0100 |
commit | 588c022f6c12ee63bd11dbea69f2395180e6a522 (patch) | |
tree | 9daaa7a794b50cb5fa094d843ac6e3e362a74fd1 /6.11/00_all_0001-unifdef-drop-unused-errno.h-include.patch | |
parent | 6.10: add patches (diff) | |
download | linux-headers-patches-588c022f6c12ee63bd11dbea69f2395180e6a522.tar.gz linux-headers-patches-588c022f6c12ee63bd11dbea69f2395180e6a522.tar.bz2 linux-headers-patches-588c022f6c12ee63bd11dbea69f2395180e6a522.zip |
* 00_all_0001-unifdef-drop-unused-errno.h-include.patch
* 00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '6.11/00_all_0001-unifdef-drop-unused-errno.h-include.patch')
-rw-r--r-- | 6.11/00_all_0001-unifdef-drop-unused-errno.h-include.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/6.11/00_all_0001-unifdef-drop-unused-errno.h-include.patch b/6.11/00_all_0001-unifdef-drop-unused-errno.h-include.patch new file mode 100644 index 0000000..617eb9a --- /dev/null +++ b/6.11/00_all_0001-unifdef-drop-unused-errno.h-include.patch @@ -0,0 +1,32 @@ +From c4d1a109c5c0b1bd27d2b5448a1306a2f6005339 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Tue, 6 Dec 2011 17:22:42 -0500 +Subject: [PATCH] unifdef: drop unused errno.h include + +This is the only header on my system that ends up requiring kernel +headers, so if the kernel headers aren't available, we end up being +unable to install kernel headers :). + +Since this file doesn't actually use anything from errno.h, drop +the include so it at least makes us a bit more robust on glibc. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + scripts/unifdef.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/scripts/unifdef.c b/scripts/unifdef.c +index 7493c0ee51cc..c5dfae538b08 100644 +--- a/scripts/unifdef.c ++++ b/scripts/unifdef.c +@@ -48,7 +48,6 @@ + + #include <ctype.h> + #include <err.h> +-#include <errno.h> + #include <stdarg.h> + #include <stdbool.h> + #include <stdio.h> +-- +2.16.1 + |