overlay coreos/user-patches: Add a user patch for sys-devel/crossdev

This commit is contained in:
Krzesimir Nowak 2024-01-16 17:37:53 +01:00
parent 63b41be8fe
commit 1428452ba5
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From fc3f635e1912b5c8d84c0e9bcf643e5ef6bbc83d Mon Sep 17 00:00:00 2001
From: Krzesimir Nowak <knowak@microsoft.com>
Date: Tue, 16 Jan 2024 17:21:11 +0100
Subject: [PATCH] crossdev: Make dev-debug a default category for gdb
The sys-devel/gdb package was moved to dev-debug category, so reflect
this change in the script.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
---
crossdev | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crossdev b/crossdev
index f6ad232..a937796 100755
--- a/crossdev
+++ b/crossdev
@@ -852,7 +852,7 @@ BCAT="sys-devel" ; BPKG="binutils" ; BVER="" BUSE="" BENV="" BOVL="" BMASK
GCAT="sys-devel" ; GPKG="gcc" ; GVER="" GUSE="" GENV="" GOVL="" GMASK="" GFORCE=""
KCAT="sys-kernel" ; KPKG="linux-headers" ; KVER="" KUSE="" KENV="" KOVL="" KMASK="" KFORCE=""
LCAT="sys-libs" ; LPKG="[none]" ; LVER="" LUSE="" LENV="" LOVL="" LMASK="" LFORCE=""
-DCAT="sys-devel" ; DPKG="gdb" ; DVER="" DUSE="" DENV="" DOVL="" DMASK="" DFORCE=""
+DCAT="dev-debug" ; DPKG="gdb" ; DVER="" DUSE="" DENV="" DOVL="" DMASK="" DFORCE=""
RCAT="sys-libs" ; RPKG="compiler-rt" ; RVER="" RUSE="" RENV="" ROVL="" RMASK="" RFORCE=""
CCAT="sys-devel" ; CPKG="clang-crossdev-wrappers" ; CVER="" CUSE="" CENV="" COVL="" CMASK="" CFORCE=""
XPKGS=() XVERS=() XUSES=() XENVS=() XOVLS=() XMASKS=() XFORCES=()
--
2.34.1

View File

@ -0,0 +1,7 @@
Upstream PR: https://github.com/gentoo/crossdev/pull/17.
We could fix it by adding "--dcat dev-debug" parameters to crossdev
invocation in build_library/toolchain_util.sh. But we add a user patch
instead, because it will fail to be applied when it stops being
necessary. That way we will know exactly when to remove the
workaround.