Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 737200 Details for
Bug 336732
kernel-2.eclass - Makefile creates $(T).tmp_gas_check when T is set in environment; should be $(T)/.tmp_gas_check instead, and if unset ./.tmp_gas_check.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Slightly modified patch
0001-kernel-2.eclass-create-.tmp_gas_check-under-T.patch (text/plain), 1.42 KB, created by
Mike Pagano
on 2021-09-02 23:22:33 UTC
(
hide
)
Description:
Slightly modified patch
Filename:
MIME Type:
Creator:
Mike Pagano
Created:
2021-09-02 23:22:33 UTC
Size:
1.42 KB
patch
obsolete
>From 4a40d74934d32999f1023f2a7d6aed561267bb81 Mon Sep 17 00:00:00 2001 >From: Mike Pagano <mpagano@gentoo.org> >Date: Thu, 2 Sep 2021 19:19:00 -0400 >Subject: [PATCH] kernel-2.eclass: create .tmp_gas_check under $(T) >Cc: mpagano@gentoo.org > >Bug: https://bugs.gentoo.org/336732 > >Signed-off-by: Mike Pagano <mpagano@gentoo.org> >--- > eclass/kernel-2.eclass | 15 ++++++--------- > 1 file changed, 6 insertions(+), 9 deletions(-) > >diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass >index c2f1e93dc..fbf6f66fa 100644 >--- a/eclass/kernel-2.eclass >+++ b/eclass/kernel-2.eclass >@@ -1452,15 +1452,12 @@ kernel-2_src_unpack() { > # fix a problem on ppc where TOUT writes to /usr/src/linux breaking sandbox > # only do this for kernel < 2.6.27 since this file does not exist in later > # kernels >- if [[ -n ${KV_MINOR} ]] && ver_test ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} -lt 2.6.27; then >- sed -i \ >- -e 's|TOUT := .tmp_gas_check|TOUT := $(T).tmp_gas_check|' \ >- "${S}"/arch/ppc/Makefile >- else >- sed -i \ >- -e 's|TOUT := .tmp_gas_check|TOUT := $(T).tmp_gas_check|' \ >- "${S}"/arch/powerpc/Makefile >- fi >+ local ppc_makefile="${S}"/arch/powerpc/Makefile >+ [[ -n ${KV_MINOR} ]] && ver_test ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} -lt 2.6.27 && \ >+ ppc_makefile="${S}"/arch/ppc/Makefile >+ sed -i \ >+ -e 's|^\(TOUT.*:= \)\(\.tmp_gas_check\)|\1$(addsuffix /,$(T))\2|' \ >+ "${ppc_makefile}" > } > > # @FUNCTION: kernel-2_src_prepare >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 336732
:
246735
|
345398
|
471294
|
737200
|
737950