From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 771C815802F for ; Thu, 23 Feb 2023 19:07:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B7B9E075F; Thu, 23 Feb 2023 19:07:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8326CE075F for ; Thu, 23 Feb 2023 19:07:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DB4A340ADB for ; Thu, 23 Feb 2023 19:07:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6984E8AE for ; Thu, 23 Feb 2023 19:07:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1671264682.ca95a8a38c4f89e5fc1138a77ca0c6cf43cb655f.sam@gentoo> Subject: [gentoo-commits] proj/toolchain/linux-headers-patches:master commit in: 6.1/ X-VCS-Repository: proj/toolchain/linux-headers-patches X-VCS-Files: 6.1/00_all_0001-unifdef-drop-unused-errno.h-include.patch 6.1/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch X-VCS-Directories: 6.1/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ca95a8a38c4f89e5fc1138a77ca0c6cf43cb655f X-VCS-Branch: master Date: Thu, 23 Feb 2023 19:07:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5de8e0d2-41b0-43bc-b177-1444ffb43f5f X-Archives-Hash: 76b4e9de674a394da074893ef0c69dd6 commit: ca95a8a38c4f89e5fc1138a77ca0c6cf43cb655f Author: Sam James gentoo org> AuthorDate: Sat Dec 17 08:11:22 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Dec 17 08:11:22 2022 +0000 URL: https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=ca95a8a3 6.1: new patchset, clone of 6.0 * 6.1/00_all_0001-unifdef-drop-unused-errno.h-include.patch * 6.1/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch Signed-off-by: Sam James gentoo.org> ..._0001-unifdef-drop-unused-errno.h-include.patch | 32 +++++++++++++++++++++ ...build-relocs-tool-when-installing-headers.patch | 33 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/6.1/00_all_0001-unifdef-drop-unused-errno.h-include.patch b/6.1/00_all_0001-unifdef-drop-unused-errno.h-include.patch new file mode 100644 index 0000000..617eb9a --- /dev/null +++ b/6.1/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 +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 +--- + 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 + #include +-#include + #include + #include + #include +-- +2.16.1 + diff --git a/6.1/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch b/6.1/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch new file mode 100644 index 0000000..c1c7214 --- /dev/null +++ b/6.1/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch @@ -0,0 +1,33 @@ +From 57875de37c5375ea95e1e949ec7c741d0038d3a1 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Sat, 15 Nov 2014 03:37:38 -0500 +Subject: [PATCH] x86: do not build relocs tool when installing headers + +This isn't needed to install headers, so don't bother building it. +Otherwise we run into a chicken/egg issue where we need the kernel +headers in order to install the kernel headers. It's also a waste +of time. + +Signed-off-by: Mike Frysinger +--- + arch/x86/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/arch/x86/Makefile b/arch/x86/Makefile +index 60135cbd905c..9b15b2daa77f 100644 +--- a/arch/x86/Makefile ++++ b/arch/x86/Makefile +@@ -215,8 +215,10 @@ + endif + + ++ifneq ($(filter-out headers_install,$(MAKECMDGOALS)),) + archscripts: scripts_basic + $(Q)$(MAKE) $(build)=arch/x86/tools relocs ++endif + + ### + # Syscall table generation +-- +2.16.1 +