aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shells/zsh/Makefile2
-rw-r--r--shells/zsh/files/patch-Completion-Unix-Command-_sysctl11
2 files changed, 12 insertions, 1 deletions
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 "-*" \