gnu: tcsh: Incorporate grafted patch.

* gnu/packages/shells.scm (tcsh)[replacement]: Remove field.
[source]: Add patch 'tcsh-fix-out-of-bounds-read.patch'.
(tcsh/fixed): Remove variable.
This commit is contained in:
Leo Famulari 2017-01-25 12:57:42 -05:00
parent 66707558b6
commit 0086496042
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -217,7 +217,6 @@ (define-public es
(define-public tcsh
(package
(name "tcsh")
(replacement tcsh/fixed)
(version "6.18.01")
(source (origin
(method url-fetch)
@ -230,7 +229,8 @@ (define-public tcsh
(base32
"1a4z9kwgx1iqqzvv64si34m60gj34p7lp6rrcrb59s7ka5wa476q"))
(patches (search-patches "tcsh-fix-autotest.patch"
"tcsh-do-not-define-BSDWAIT.patch"))
"tcsh-do-not-define-BSDWAIT.patch"
"tcsh-fix-out-of-bounds-read.patch"))
(patch-flags '("-p0"))))
(build-system gnu-build-system)
(inputs
@ -275,15 +275,6 @@ (define-public tcsh
history mechanism, job control and a C-like syntax.")
(license bsd-4)))
(define tcsh/fixed
(package
(inherit tcsh)
(name "tcsh")
(source (origin
(inherit (package-source tcsh))
(patches (cons (search-patch "tcsh-fix-out-of-bounds-read.patch")
(origin-patches (package-source tcsh))))))))
(define-public zsh
(package
(name "zsh")