aboutsummaryrefslogtreecommitdiffstats
path: root/shells/zsh
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-12 00:29:21 +0800
committerbapt <bapt@FreeBSD.org>2012-05-12 00:29:21 +0800
commit550734e741e3e9a51dc7195ffbd88179ab9a1f6f (patch)
tree74439253404083048638c9c194e076d878718c37 /shells/zsh
parente7fdb61e16d5db3255da20a25735a86fb54709d7 (diff)
downloadfreebsd-ports-gnome-550734e741e3e9a51dc7195ffbd88179ab9a1f6f.tar.gz
freebsd-ports-gnome-550734e741e3e9a51dc7195ffbd88179ab9a1f6f.tar.zst
freebsd-ports-gnome-550734e741e3e9a51dc7195ffbd88179ab9a1f6f.zip
Fix sysctl completion on freebsd 10+
Diffstat (limited to 'shells/zsh')
-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 "-*" \