summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-10-02 11:06:33 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-10-02 11:06:33 +0000
commit0231318963fb78c5c084bd6d11f3c9e6adabdff4 (patch)
tree564d9ed1a9ff7396d4bc820939d9a268bfe11f72
parentmultimedia/mpc-qt: chase submodule after r451073 (diff)
Fix diff -u completion
PR: 222420 Submitted by: cy
Notes
Notes: svn path=/head/; revision=451075
-rw-r--r--shells/zsh/Makefile1
-rw-r--r--shells/zsh/files/patch-Completion-Unix-Type-_diff_options9
2 files changed, 10 insertions, 0 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 42070a99b825..3792004f183f 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -3,6 +3,7 @@
PORTNAME= zsh
DISTVERSION= 5.4.2
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= http://www.zsh.org/pub/ \
SF \
diff --git a/shells/zsh/files/patch-Completion-Unix-Type-_diff_options b/shells/zsh/files/patch-Completion-Unix-Type-_diff_options
new file mode 100644
index 000000000000..c9e76ddc0a12
--- /dev/null
+++ b/shells/zsh/files/patch-Completion-Unix-Type-_diff_options
@@ -0,0 +1,9 @@
+--- Completion/Unix/Type/_diff_options.orig 2016-08-27 12:54:44.000000000 -0702
++++ Completion/Unix/Type/_diff_options 2017-09-17 22:13:47.153055000 -0700
+@@ -183,5 +183,6 @@
+ "($of)-f[output a reversed ed script]" \
+ '-b[skip trailing white spaces]' \
+ '-r[recursively compare subdirectories]' \
++ "($of)-u[output a unified diff]" \
+ "$@"
+ fi