app-shells/bash: Sync with Gentoo

It's from Gentoo commit 59964f00f4693640b0701d2dd98e63a9eed23a56.
This commit is contained in:
Flatcar Buildbot 2024-03-25 07:10:27 +00:00 committed by Krzesimir Nowak
parent bfe48a737b
commit 951a3f380d
5 changed files with 28 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -95,6 +95,12 @@ src_prepare() {
}
src_configure() {
#/var/tmp/portage/app-shells/bash-3.2_p57/temp/ccW7JJDK.ltrans2.ltrans.o: in function `shell_execve':
# <artificial>:(.text+0x8b30): undefined reference to `__setostype'
#
# It works fine in bash 4+. Backporting may not be worth it.
filter-lto
local myconf=(
--with-installed-readline=.

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -100,6 +100,12 @@ src_prepare() {
}
src_configure() {
#/var/tmp/portage/app-shells/bash-3.2_p57/temp/ccW7JJDK.ltrans2.ltrans.o: in function `shell_execve':
# <artificial>:(.text+0x8b30): undefined reference to `__setostype'
#
# It works fine in bash 4+. Backporting may not be worth it.
filter-lto
local myconf=(
--with-installed-readline=.

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -95,6 +95,12 @@ src_prepare() {
}
src_configure() {
#/var/tmp/portage/app-shells/bash-3.2_p57/temp/ccW7JJDK.ltrans2.ltrans.o: in function `shell_execve':
# <artificial>:(.text+0x8b30): undefined reference to `__setostype'
#
# It works fine in bash 4+. Backporting may not be worth it.
filter-lto
local myconf=(
--with-installed-readline=.

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -97,6 +97,12 @@ src_prepare() {
}
src_configure() {
#/var/tmp/portage/app-shells/bash-3.2_p57/temp/ccW7JJDK.ltrans2.ltrans.o: in function `shell_execve':
# <artificial>:(.text+0x8b30): undefined reference to `__setostype'
#
# It works fine in bash 4+. Backporting may not be worth it.
filter-lto
local myconf=(
--with-installed-readline=.

View File

@ -1,18 +0,0 @@
https://lists.gnu.org/archive/html/bug-bash/2024-01/msg00011.html
https://git.savannah.gnu.org/cgit/bash.git/diff/builtins/evalstring.c?h=devel&id=81f7b44564cd1510788035cea7c59631865a7db2&dt=1#n766
*** builtins/evalstring.c Tue Dec 13 12:53:21 2022
--- builtins/evalstring.c Tue Nov 28 17:25:39 2023
***************
*** 763,766 ****
--- 773,779 ----
if (fnp)
*fnp = fn;
+ else
+ free (fn);
+
return fd;
}