From d464887e155b6180d0b2b17f158073a06ab7e4ee Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 18 Dec 2016 12:13:31 +0000 Subject: [PATCH] Fix typo in chflags completion Reported by: adamw --- shells/zsh/Makefile | 1 + .../zsh/files/patch-Completion_BSD_Command___chflags | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 shells/zsh/files/patch-Completion_BSD_Command___chflags diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile index 2bc60e352513..432a4d869279 100644 --- a/shells/zsh/Makefile +++ b/shells/zsh/Makefile @@ -3,6 +3,7 @@ PORTNAME= zsh DISTVERSION= 5.3 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= http://www.zsh.org/pub/ \ SF \ diff --git a/shells/zsh/files/patch-Completion_BSD_Command___chflags b/shells/zsh/files/patch-Completion_BSD_Command___chflags new file mode 100644 index 000000000000..801c8e6ddcc6 --- /dev/null +++ b/shells/zsh/files/patch-Completion_BSD_Command___chflags @@ -0,0 +1,11 @@ +--- Completion/BSD/Command/_chflags.orig 2016-09-14 19:06:59 UTC ++++ Completion/BSD/Command/_chflags +@@ -35,7 +35,7 @@ if [[ $OSTYPE = (darwin|dragonfly|freebs + fi + + if [[ $OSTYPE = (dragonfly|freebsd)* ]]; then +- addlfags uunlnk 'user undeletable' ++ addflags uunlnk 'user undeletable' + (( EUID )) || addflags sunlnk 'system undeletable' + fi +