mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 22:46:58 +02:00
app-shells/bash: Sync with Gentoo
It's from Gentoo commit 59964f00f4693640b0701d2dd98e63a9eed23a56.
This commit is contained in:
parent
bfe48a737b
commit
951a3f380d
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -95,6 +95,12 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
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=(
|
local myconf=(
|
||||||
--with-installed-readline=.
|
--with-installed-readline=.
|
||||||
|
|
||||||
|
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -100,6 +100,12 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
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=(
|
local myconf=(
|
||||||
--with-installed-readline=.
|
--with-installed-readline=.
|
||||||
|
|
||||||
|
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -95,6 +95,12 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
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=(
|
local myconf=(
|
||||||
--with-installed-readline=.
|
--with-installed-readline=.
|
||||||
|
|
||||||
|
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -97,6 +97,12 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
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=(
|
local myconf=(
|
||||||
--with-installed-readline=.
|
--with-installed-readline=.
|
||||||
|
|
||||||
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user