Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 913793 Details for
Bug 946257
gcc14 fix to bootstrap-prefix.sh
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix bootstrapping bash with gcc14
bootstrap-prefix-gcc14.patch (text/plain), 1.11 KB, created by
hsk17
on 2024-12-11 09:22:21 UTC
(
hide
)
Description:
fix bootstrapping bash with gcc14
Filename:
MIME Type:
Creator:
hsk17
Created:
2024-12-11 09:22:21 UTC
Size:
1.11 KB
patch
obsolete
>--- bootstrap-prefix.sh 2024-10-18 16:00:50.000000000 +0200 >+++ bootstrap-prefix.sh 2024-12-10 21:28:44.154375873 +0100 >@@ -818,6 +818,22 @@ > patch -p1 < "${DISTDIR}/${tar_patch_file}" || return 1 > fi > >+ # gcc14 fails to build bash if host lacks /usr/include/termcap.h >+ # fixed upstream in devel branch >+ if [[ ${PN}-${PV} == "bash-5.2" ]] ; then >+ local bash_patch_file="tparam.c" >+ local bash_patch_id="id=5b239ebbd2b1251c03b8e5591fe797a791266799" >+ local bash_patch_url="https://git.savannah.gnu.org/cgit/bash.git/patch/lib/termcap/${bash_patch_file}?${bash_patch_id}" >+ efetch "${bash_patch_url}" || return 1 >+ # If fetched from upstream url instead of mirror, filename will >+ # have a suffix. Remove suffix by copy, not move, to not >+ # trigger refetch on repeated invocations of this script. >+ if [[ -f "${DISTDIR}/${bash_patch_file}?${bash_patch_id}" ]]; then >+ cp "${DISTDIR}/${bash_patch_file}"{"?${bash_patch_id}",} || return 1 >+ fi >+ patch -p1 < "${DISTDIR}/${bash_patch_file}" || return 1 >+ fi >+ > local -a myconf > if [[ ${PN} == "make" && ${PV} == "4.2.1" ]] ; then > if [[ ${CHOST} == *-linux-gnu* ]] ; then
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 946257
: 913793