forked from pool/autoconf
Accepting request 1031841 from home:vlefebvre:branches:devel:tools:building
- fix testsuite failure by bash 5.2 update * [fix-testsuite-failures-with-bash-5.2.patch] OBS-URL: https://build.opensuse.org/request/show/1031841 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/autoconf?expand=0&rev=54
This commit is contained in:
parent
29be0bb127
commit
4f483d608e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 27 15:25:30 UTC 2022 - Valentin Lefebvre <valentin.lefebvre@suse.com>
|
||||||
|
|
||||||
|
- fix testsuite failure by bash 5.2 update
|
||||||
|
* [fix-testsuite-failures-with-bash-5.2.patch]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 28 12:14:28 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Mon Mar 28 12:14:28 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ Source0: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
|
|||||||
Source1: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz.sig
|
Source1: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz.sig
|
||||||
Source9: autoconf.keyring
|
Source9: autoconf.keyring
|
||||||
Patch0: autoreconf-ltdl.diff
|
Patch0: autoreconf-ltdl.diff
|
||||||
|
Patch1: fix-testsuite-failures-with-bash-5.2.patch
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
BuildRequires: m4 >= 1.4.6
|
BuildRequires: m4 >= 1.4.6
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -68,6 +69,7 @@ only required for the generation of the scripts, not their use.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n autoconf-%{version}
|
%setup -q -n autoconf-%{version}
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
36
fix-testsuite-failures-with-bash-5.2.patch
Normal file
36
fix-testsuite-failures-with-bash-5.2.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
--- autoconf-2.71/tests/local.at 2021-01-28 21:46:48.000000000 +0100
|
||||||
|
+++ autoconf-2.71-new/tests/local.at 2022-10-27 16:36:24.604217375 +0200
|
||||||
|
@@ -352,7 +352,7 @@ m4_define([AT_CHECK_CONFIGURE],
|
||||||
|
# - AC_SUBST'ed variables
|
||||||
|
# (FIXME: Generate a list of these automatically.)
|
||||||
|
# - _|@|.[*#?$].|argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS
|
||||||
|
-# |START_TIME|ToD|_AST_FEATURES
|
||||||
|
+# |SHLVL|START_TIME|ToD|_AST_FEATURES
|
||||||
|
# Some variables some shells use and change.
|
||||||
|
# `.[*#?$].' catches `$#' etc. which are displayed like this:
|
||||||
|
# | '!'=18186
|
||||||
|
@@ -403,7 +403,7 @@ if test -f state-env.before && test -f s
|
||||||
|
[GREP|[EF]GREP|SED],
|
||||||
|
[[_@]|.[*@%:@?$].],
|
||||||
|
[argv|ARGC|LINENO|BASH_ARGC|BASH_ARGV|OLDPWD|PIPESTATUS|RANDOM],
|
||||||
|
- [SECONDS|START_TIME|ToD|_AST_FEATURES]))=' \
|
||||||
|
+ [SECONDS|SHLVL|START_TIME|ToD|_AST_FEATURES]))=' \
|
||||||
|
$act_file ||
|
||||||
|
test $? -eq 1 || echo failed >&2
|
||||||
|
) 2>stderr-$act_file |
|
||||||
|
@@ -434,6 +434,7 @@ fi
|
||||||
|
# - PPID [bash, zsh]
|
||||||
|
# - RANDOM [bash, zsh]
|
||||||
|
# - SECONDS [bash, zsh]
|
||||||
|
+# - SHLVL [bash]
|
||||||
|
# - START_TIME [NetBSD sh]
|
||||||
|
# - ToD [NetBSD sh]
|
||||||
|
# - '$' [zsh]
|
||||||
|
@@ -481,6 +482,7 @@ do
|
||||||
|
/^PPID=/ d
|
||||||
|
/^RANDOM=/ d
|
||||||
|
/^SECONDS=/ d
|
||||||
|
+ /^SHLVL=/ d
|
||||||
|
/^START_TIME=/ d
|
||||||
|
/^ToD=/ d
|
||||||
|
/'\'\\\$\''=/ d
|
Loading…
Reference in New Issue
Block a user