Accepting request 950890 from shells

- Add patch tcsh-6.24.00-which.dif from upstream mailing list
  to fix bug in which builtin, that is return error if a command
  is not found 

- Update to tcsh 6.24.00
  11. Update config.guess and config.sub so arm64 is recognized

OBS-URL: https://build.opensuse.org/request/show/950890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=81
This commit is contained in:
Dominique Leuenberger 2022-02-03 22:15:56 +00:00 committed by Git OBS Bridge
commit 9717a76786
8 changed files with 62 additions and 21 deletions

View File

@ -4,7 +4,7 @@
--- sh.dol.c --- sh.dol.c
+++ sh.dol.c 2016-11-25 08:00:30.455106978 +0000 +++ sh.dol.c 2016-11-25 08:00:30.455106978 +0000
@@ -428,6 +428,8 @@ Dgetdol(void) @@ -462,6 +462,8 @@ Dgetdol(void)
size_t cbp = 0; size_t cbp = 0;
int old_pintr_disabled; int old_pintr_disabled;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c03f80405136731b3091da735a81cdd848008510324ab325f235aff709e446eb
size 947265

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEErYcQl2PY2MLJTLqAZcJuRx9FsSMFAmHSrjQACgkQZcJuRx9F
sSMfghAAm+04SbBFGnwA18aBoV2a+ek07PxoZomJiqGnJUB8jVUoQQ0D9xsOm5L8
qz/tZ51C4I/jnBHonrkzeb7eHJS/l2Kuw5n8muRJwIfBF+6mkQqkEWGXHiRhIZD2
TQX13qzODhHIE9HKL2HdKiKkWXeCAuUEGX8dyyzSQPyYxkgdC9tRNqhbkyiP7rFl
qCjiMMti3/1U9wp2/mZPlzKZ2CYKTxxA/gAiWrDo2wa5hWRL5LNouHQ1g75cP//k
FLUjWSv+3VacLrglQa3N58UZOYVLtjSayNbWpMc9ydOn8fY2jC4M19+j/K339H3T
4Xk7+zjvi1nW2jCvjMO5yr/iiqmH+JKVSfvK9O86un+8yPLdPQ8tKVvF64zOBwFS
OH9zfkQSyyHgnjEFwMwgf9TcY6ucvLOQWeQMpHwM//Iadje4EAuqkbxsbIOeS2QP
WIuh5Yqh10Yn0wWddAsVZ+F7IvVFW+oQzMXctLj29bxXDDZSXBdoyapKAlHOc/8Z
4TVHVUwRvFnLc30ik1p/utfzDKLvv3mFgeqf+YxzNKmbKfQL0m+KosTmip8p5lXB
8H0qaWzdLGaiNPyWqrcU/4TgsNqPPtwWWCyffE+PMfblJs9BV6crxhnU6AgNkSL2
TXWwXjaBeUaFQtX9vLeDTRKgqmJm1zZ8fLYabjUMmzXtF4HKG/A=
=kFfj
-----END PGP SIGNATURE-----

26
tcsh-6.24.00-which.dif Normal file
View File

@ -0,0 +1,26 @@
From: Jamie Landeg-Jones <jamie@catflap.org>
Message-Id: <202202021648.212GmqTP022048@donotpassgo.dyslexicfish.net>
Basically, I noticed my aliases were out of wack. I discovered that "which"
is no longer returning error 1 if a command is not found.
It seems that when "setcopy" was changed in some cases to "setstatus", a mistake
was made.
This is the fix:
---
tc.func.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- tc.func.c
+++ tc.func.c 2022-02-03 07:53:14.442853165 +0000
@@ -503,7 +503,7 @@ dowhich(Char **v, struct command *c)
rv &= cmd_expand(*v, NULL);
if (!rv)
- setstatus(0);
+ setstatus(1);
}
static int

3
tcsh-6.24.00.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60be2c504bd8f1fa6e424b1956495d7e7ced52a2ac94db5fd27f4b6bfc8f74f0
size 949411

16
tcsh-6.24.00.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEErYcQl2PY2MLJTLqAZcJuRx9FsSMFAmH6ZDYACgkQZcJuRx9F
sSNgQxAAhIrjk2emnB0qgdLDA/my5LDLM9KhMqXdkd9Xtqo4GKjTrt5os0pKcKkm
63PTaTwE+YUNas6MGUI4uDhvl+Plh0pGiHiRPrAdNvcDjEGNF4wr0EAxz0tOQsDS
PvcHtVpTGpS8V71fKQsyaulCd87YDmOUGYXibK4JJ9KRx/da7xVnynodNqV55ywj
bvEgWPC/mwrK2kki9ssdIcS/wgNWJZ+CSlUzuDOItiAw7m6dUkEJUfzVPlbvNaQE
YKN5b9+57TmjepajD4/cVyvnMQ69JfITSx6tkbiIkz9cowOmeINfF+0OFOsAHcB3
iSPwAYj6/VI64HTYcIMXkORDcVh01RU3lVe1fMGq4XqwH7TBfbrNQoW5OoZU5A0R
e+oD5q5IQCjnxqbZ5cdbzBnRBo3I/yzuh3gdxUPx9UvFFqWygdbyenMr1Ef7y/YK
CFUUAPWT1posoG/pnrQP4yIdyafI7oIyd8SdpaqWQ/EOpNWQIqJ1F5oJKLl1x8Jk
NOViWi0T1A7XZfGCHNErOFKmEy00aLSKpWIQjED8qjTeyHbpc1z8YIoyPHmrxFGg
Q+mzXPDkiP/x8BLBvSdAnsWsR/CFzlsDMP5i6nBfFDnAVV2wmqw3f4DSjUSphzDV
dSBDhskJswmRA8Ufjc1gUMtc4LvEmFcpn0X/0+2mXz94kuehwoY=
=idKq
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Feb 3 07:56:15 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Add patch tcsh-6.24.00-which.dif from upstream mailing list
to fix bug in which builtin, that is return error if a command
is not found
-------------------------------------------------------------------
Wed Feb 2 13:46:57 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Update to tcsh 6.24.00
11. Update config.guess and config.sub so arm64 is recognized
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 11 15:13:55 UTC 2022 - Dr. Werner Fink <werner@suse.de> Tue Jan 11 15:13:55 UTC 2022 - Dr. Werner Fink <werner@suse.de>

View File

@ -17,7 +17,7 @@
Name: tcsh Name: tcsh
Version: 6.23.02 Version: 6.24.00
Release: 0 Release: 0
Summary: The C SHell Summary: The C SHell
License: BSD-3-Clause License: BSD-3-Clause
@ -31,6 +31,7 @@ Source4: tcsh.keyring
Patch0: tcsh-6.21.00.dif Patch0: tcsh-6.21.00.dif
Patch1: tcsh-6.15.00-pipe.dif Patch1: tcsh-6.15.00-pipe.dif
Patch2: tcsh-6.16.00-norm-cmd.dif Patch2: tcsh-6.16.00-norm-cmd.dif
Patch3: tcsh-6.24.00-which.dif
Patch4: tcsh-6.18.03-colorls.dif Patch4: tcsh-6.18.03-colorls.dif
Patch5: tcsh-6.17.06-dspmbyte.dif Patch5: tcsh-6.17.06-dspmbyte.dif
Patch6: tcsh-6.18.03-catalogs.dif Patch6: tcsh-6.18.03-catalogs.dif
@ -57,6 +58,7 @@ correction, a history mechanism, job control, and a C-like syntax.
%setup -q %setup -q
%patch1 -b .pipe %patch1 -b .pipe
%patch2 -b .normcmd %patch2 -b .normcmd
%patch3 -b .whichbug
%patch4 -b .colorls %patch4 -b .colorls
%patch5 -b .dspmbyte %patch5 -b .dspmbyte
%patch6 -b .catalogs %patch6 -b .catalogs