Avoid trouble with bash 5.2
OBS-URL: https://build.opensuse.org/package/show/shells/tcsh?expand=0&rev=128
This commit is contained in:
parent
085c792874
commit
630c68254c
11
tcsh-6.24.01-bash52.dif
Normal file
11
tcsh-6.24.01-bash52.dif
Normal file
@ -0,0 +1,11 @@
|
||||
--- tcsh-6.24.01/tests/variables.at
|
||||
+++ tcsh-6.24.01/tests/variables.at 2022-09-30 08:56:23.296533116 +0000
|
||||
@@ -964,7 +964,7 @@ tcsh -f -c 'tcsh -f -c "printenv SHLVL"'
|
||||
tcsh -f -c 'exec tcsh -f -c "printenv SHLVL"'
|
||||
tcsh -f -c '(exec tcsh -f -c "printenv SHLVL")'
|
||||
]])
|
||||
-AT_CHECK([SHLVL=5 tcsh -f shlvl.csh], ,
|
||||
+AT_CHECK([SHLVL=5 tcsh -f shlvl.csh;:], ,
|
||||
[6
|
||||
8
|
||||
2
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 08:58:48 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add patch tcsh-6.24.01-bash52.dif
|
||||
* Avoid to become last command in sub shell list as bash-5.2
|
||||
now uses execve within sub shell which decreases SHLVL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 13 08:11:25 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -35,6 +35,7 @@ Patch4: tcsh-6.18.03-colorls.dif
|
||||
Patch5: tcsh-6.17.06-dspmbyte.dif
|
||||
Patch6: tcsh-6.18.03-catalogs.dif
|
||||
Patch8: tcsh-6.22.02-local-dotlock.dif
|
||||
Patch9: tcsh-6.24.01-bash52.dif
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: ncurses-devel
|
||||
@ -61,6 +62,7 @@ correction, a history mechanism, job control, and a C-like syntax.
|
||||
%patch5 -b .dspmbyte
|
||||
%patch6 -b .catalogs
|
||||
%patch8 -p 0 -b .dotlock
|
||||
%patch9 -p 1 -b .bash52
|
||||
%patch0 -b .0
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user