aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2017-10-02 19:06:33 +0800
committerbapt <bapt@FreeBSD.org>2017-10-02 19:06:33 +0800
commit4475ab58c5c8c1050d3d4d35360545fc965e07ac (patch)
tree564d9ed1a9ff7396d4bc820939d9a268bfe11f72 /shells
parentfa1f858b65f1967211bc76b41e8bad8e5de6dbb3 (diff)
downloadfreebsd-ports-gnome-4475ab58c5c8c1050d3d4d35360545fc965e07ac.tar.gz
freebsd-ports-gnome-4475ab58c5c8c1050d3d4d35360545fc965e07ac.tar.zst
freebsd-ports-gnome-4475ab58c5c8c1050d3d4d35360545fc965e07ac.zip
Fix diff -u completion
PR: 222420 Submitted by: cy
Diffstat (limited to 'shells')
-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