Add vendor patch to fix subversion command completion.
Approved by: maintainer timeout
This commit is contained in:
parent
9d07a1248a
commit
e5dda08f1b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206795
@ -22,28 +22,9 @@
|
||||
|
||||
PORTNAME= zsh
|
||||
PORTVERSION= 4.3.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= SF \
|
||||
http://zsh.open-mirror.com/ \
|
||||
http://www.zsh.org/pub/ \
|
||||
ftp://ftp.zsh.org/zsh/ \
|
||||
http://mirrors.dotsrc.org/zsh/ \
|
||||
ftp://mirrors.dotsrc.org/zsh/ \
|
||||
ftp://ftp.funet.fi/pub/unix/shells/zsh/ \
|
||||
ftp://nephtys.lip6.fr/pub/unix/shells/zsh/ \
|
||||
ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \
|
||||
http://www.cs.elte.hu/pub/zsh/ \
|
||||
ftp://ftp.cs.elte.hu/pub/zsh/ \
|
||||
ftp://ftp.kfki.hu/pub/packages/zsh/ \
|
||||
http://www.math.technion.ac.il/pub/zsh/ \
|
||||
ftp://ftp.math.technion.ac.il/pub/zsh/ \
|
||||
ftp://ftp.demon.nl/pub/mirrors/zsh/ \
|
||||
ftp://sunsite.icm.edu.pl/pub/unix/shells/zsh/ \
|
||||
ftp://ftp.roedu.net/pub/mirrors/ftp.zsh.org/pub/zsh/ \
|
||||
ftp://ftp.kappa.ro/pub/mirrors/ftp.zsh.org/pub/zsh/ \
|
||||
ftp://ftp.lysator.liu.se/pub/unix/zsh/ \
|
||||
ftp://sunsite.org.uk/package/zsh/
|
||||
MASTER_SITES= SF
|
||||
.if !defined(NOPORTDOCS)
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-doc${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
20
shells/zsh/files/patch-Completion-Unix-Command-_subversion
Normal file
20
shells/zsh/files/patch-Completion-Unix-Command-_subversion
Normal file
@ -0,0 +1,20 @@
|
||||
--- Completion/Unix/Command/_subversion 2007/04/19 20:37:04 1.24
|
||||
+++ Completion/Unix/Command/_subversion 2008/01/31 16:16:36 1.25
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
usage=${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"}:#usage:*}#usage:*$cmd] }
|
||||
args=(
|
||||
- ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"##*Valid options:}:#* :*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}
|
||||
+ ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svn help $cmd)"#(*Valid options:|(#e))}:#* :*}%% #:*}/ (arg|ARG)/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}
|
||||
)
|
||||
|
||||
case $cmd in;
|
||||
@@ -148,7 +148,7 @@
|
||||
|
||||
usage=${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"}:#$cmd: usage:*}#$cmd: usage: svnadmin $cmd }
|
||||
args=(
|
||||
- ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"##*Valid options:}:#*:*}%% #:*}/ arg/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}
|
||||
+ ${=${${${(M)${(f)"$(LC_ALL=C _call_program options svnadmin help $cmd)"#(*Valid options:|(#e))}:#* :*}%% #:*}/ (arg|ARG)/:arg:}/(#b)-([[:alpha:]]) \[--([a-z-]##)\](:arg:)#/(--$match[2])-$match[1]$match[3] (-$match[1])--$match[2]$match[3]}
|
||||
)
|
||||
if [[ $_svnadmin_subcmd_usage == *REPOS_PATH* ]]; then
|
||||
args+=( ":path:_files -/" )
|
Loading…
Reference in New Issue
Block a user