From 550734e741e3e9a51dc7195ffbd88179ab9a1f6f Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 11 May 2012 16:29:21 +0000 Subject: Fix sysctl completion on freebsd 10+ --- shells/zsh/Makefile | 2 +- shells/zsh/files/patch-Completion-Unix-Command-_sysctl | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 shells/zsh/files/patch-Completion-Unix-Command-_sysctl diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile index 633cc4860ea0..c9ae637a72ad 100644 --- a/shells/zsh/Makefile +++ b/shells/zsh/Makefile @@ -7,7 +7,7 @@ PORTNAME= zsh PORTVERSION= 4.3.17 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= shells MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION} \ SF/${PORTNAME}/${PORTNAME}-doc-dev/${PORTVERSION}:doc diff --git a/shells/zsh/files/patch-Completion-Unix-Command-_sysctl b/shells/zsh/files/patch-Completion-Unix-Command-_sysctl new file mode 100644 index 000000000000..6c7083893e3d --- /dev/null +++ b/shells/zsh/files/patch-Completion-Unix-Command-_sysctl @@ -0,0 +1,11 @@ +--- Completion/Unix/Command/_sysctl.orig 2005-12-05 15:22:54.000000000 +0100 ++++ Completion/Unix/Command/_sysctl 2012-05-11 18:24:24.679714541 +0200 +@@ -1,7 +1,7 @@ + #compdef sysctl + + case $OSTYPE in +- *freebsd[5-9].*|freebsd4.[4-9]*) ++ *freebsd[5-9].*|freebsd4.[4-9]*|*freebsd[0-9][0-9]*) + local -a sysctlvars + sysctlvars=( $(sysctl -aN) ) + _arguments -s -A "-*" \ -- cgit