Here's a patch to update Zsh to its latest version 5.0.8.  Tested on
amd64.

A number of files can be removed because they were upstreamed or
no longer pertinent.  A number of patches to the completion system
were superseded by upstream commits thanks to the FreeBSD porters.  I
added a small patch to the tmux completion that removes two command line
flags that are no longer present.  I will try to upstream a more
complete version of this patch.

The bulk of the diff below concerns patch-Completion_BSD_Command__bsd_pkg
which was mostly whitespace noise (expanding tabs to 8 spaces) and what
I believe to be incorrect replacement of

'...don'\''t...' by '...don''t...'

The remaining patch is much smaller and should make future reviews
easier.

I'm unsure what the patch for zsh.texi is supposed to achieve.  It
didn't apply cleanly, I hope I got this right...

Finally, 'make test' remains volatile.  Sometimes all tests pass,
sometimes I get one error sometimes five.  I have no idea what is going
on there.


Index: shells/zsh//Makefile
===================================================================
RCS file: /cvs/ports/shells/zsh/Makefile,v
retrieving revision 1.74
diff -u -p -r1.74 Makefile
--- shells/zsh//Makefile        28 Apr 2015 06:30:13 -0000      1.74
+++ shells/zsh//Makefile        2 Jul 2015 05:54:30 -0000
@@ -2,9 +2,9 @@
 
 COMMENT=       Z shell, Bourne shell-compatible
 
-V=             5.0.7
+V=             5.0.8
 DISTNAME=      zsh-$V
-REVISION=      0
+REVISION=
 CATEGORIES=    shells
 
 MAINTAINER=    Pierre-Emmanuel Andre <[email protected]>
Index: shells/zsh//distinfo
===================================================================
RCS file: /cvs/ports/shells/zsh/distinfo,v
retrieving revision 1.20
diff -u -p -r1.20 distinfo
--- shells/zsh//distinfo        22 Apr 2015 11:52:40 -0000      1.20
+++ shells/zsh//distinfo        2 Jul 2015 05:54:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (zsh-5.0.7.tar.gz) = Q/CkwXnvebuMkVNXVoX39F8oo2FcjPljRfUD1bnnuRk=
-SIZE (zsh-5.0.7.tar.gz) = 4004964
+SHA256 (zsh-5.0.8.tar.gz) = 9XJx7PUD30A9tRWRZibeXWWNn54sO21NplBUQlHsCAs=
+SIZE (zsh-5.0.8.tar.gz) = 4119858
Index: shells/zsh//patches/patch-Completion_BSD_Command__bsd_pkg
===================================================================
RCS file: /cvs/ports/shells/zsh/patches/patch-Completion_BSD_Command__bsd_pkg,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Completion_BSD_Command__bsd_pkg
--- shells/zsh//patches/patch-Completion_BSD_Command__bsd_pkg   29 Jan 2006 
20:41:02 -0000      1.2
+++ shells/zsh//patches/patch-Completion_BSD_Command__bsd_pkg   2 Jul 2015 
05:54:30 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-Completion_BSD_Command__bsd_pkg,v 1.2 2006/01/29 20:41:02 
sturm Exp $
---- Completion/BSD/Command/_bsd_pkg.orig       Wed Jan 21 14:53:28 2004
-+++ Completion/BSD/Command/_bsd_pkg    Mon Jan 23 21:30:02 2006
+--- Completion/BSD/Command/_bsd_pkg.orig       Sun Dec 14 00:55:54 2014
++++ Completion/BSD/Command/_bsd_pkg    Thu Jul  2 06:13:22 2015
 @@ -6,15 +6,19 @@ _bsd_pkg_pkgfiles() {
  
    case $OSTYPE in
@@ -33,141 +33,7 @@ $OpenBSD: patch-Completion_BSD_Command__
  }
  
  (( $+functions[_bsd_pkg_pkgs_and_files] )) ||
-@@ -48,11 +52,11 @@ _bsd_pkg() {
-   pkg_add)
-     flags=(
-       '-f[force installation]'
--      '-I[don'\''t execute installation scripts]'
-+      '-I[don''t execute installation scripts]'
-       '-M[run in master mode]'
--      '-n[don'\''t really install packages]'
-+      '-n[don''t really install packages]'
-       '-p[specify prefix]:prefix directory:_files -/'
--      '-R[don'\''t record]'
-+      '-R[don''t record]'
-       '-S[run in slave mode]'
-       '-t[specify mktemp template]:mktemp template:_files -/'
-       '-v[be verbose]'
-@@ -67,9 +71,9 @@ _bsd_pkg() {
-       ;;
-     netbsd*)
-       flags=(
--      $flags[@]
--      '-u[update]'
--      '-V[show version and exit]'
-+        $flags[@]
-+        '-u[update]'
-+        '-V[show version and exit]'
-       )
-       ;;
-     esac
-@@ -83,37 +87,37 @@ _bsd_pkg() {
-     case "$OSTYPE" in
-     freebsd*)
-       flags=(
--      '-f[specify plist file]:plist file:_files'
--      '(-b)-c[specify comment file]:comment file:_files'
--      '(-b)-d[specify descr file]:descr file:_files'
--      '-Y[assume YES for any questions asked]'
--      '-N[assume NO for any questions asked]'
--      '(-b)-O[packing list only mode]'
--      '-v[be verbose]'
--      '-h[force tar to follow symlinks]'
--      '(-b)-i[specify pre-install script]:pre-install script:_files'
--      '(-b)-I[specify post-install script]:post-install script:_files'
--      '(-b)-P[specify initial dependencies]:dependencies:_bsd_pkg_pkgs'
--      '(-b)-p[specify prefix]:prefix directory:_files -/'
--      '(-b)-k[specify deinstall script]:deinstall script:_files'
--      '(-b)-K[specify post-deinstall script]:post-deinstall script:_files'
--      '(-b)-r[specify req script]:req script:_files'
--      '(-b)-s[specify source directory]:source directory:_files -/'
--      '(-b)-t[specify mktemp template]:mktemp template:_files'
--      '(-b)-X[specify exclude file]:exclude file for tar:_files'
--      '(-b)-D[specify message file]:message file:_files'
--      '(-b)-m[specify mtree file]:mtree file:_files'
--      '(-b)-o[specify origin]:origin:_files -W ${PORTSDIR\:-/usr/ports} -/'
--      '-j[use bzip2]'
--      '-z[use gzip]'
--      '(-c -d -O -i -I -P -p -k -K -r -s -t -X -D -m -o)-b[specify 
pkgname]:pkgname:_bsd_pkg_pkgs'
--      '*:package file name:_files'
-+        '-f[specify plist file]:plist file:_files'
-+        '(-b)-c[specify comment file]:comment file:_files'
-+        '(-b)-d[specify descr file]:descr file:_files'
-+        '-Y[assume YES for any questions asked]'
-+        '-N[assume NO for any questions asked]'
-+        '(-b)-O[packing list only mode]'
-+        '-v[be verbose]'
-+        '-h[force tar to follow symlinks]'
-+        '(-b)-i[specify pre-install script]:pre-install script:_files'
-+        '(-b)-I[specify post-install script]:post-install script:_files'
-+        '(-b)-P[specify initial dependencies]:dependencies:_bsd_pkg_pkgs'
-+        '(-b)-p[specify prefix]:prefix directory:_files -/'
-+        '(-b)-k[specify deinstall script]:deinstall script:_files'
-+        '(-b)-K[specify post-deinstall script]:post-deinstall script:_files'
-+        '(-b)-r[specify req script]:req script:_files'
-+        '(-b)-s[specify source directory]:source directory:_files -/'
-+        '(-b)-t[specify mktemp template]:mktemp template:_files'
-+        '(-b)-X[specify exclude file]:exclude file for tar:_files'
-+        '(-b)-D[specify message file]:message file:_files'
-+        '(-b)-m[specify mtree file]:mtree file:_files'
-+        '(-b)-o[specify origin]:origin:_files -W ${PORTSDIR\:-/usr/ports} -/'
-+        '-j[use bzip2]'
-+        '-z[use gzip]'
-+        '(-c -d -O -i -I -P -p -k -K -r -s -t -X -D -m -o)-b[specify 
pkgname]:pkgname:_bsd_pkg_pkgs'
-+        '*:package file name:_files'
-       )
-       ;;
-     netbsd*)
-       # NetBSD users, improve me!
-       flags=(
--      '*:package name:_bsd_pkg_pkgs'
-+        '*:package name:_bsd_pkg_pkgs'
-       )
-       ;;
-     esac
-@@ -124,10 +128,10 @@ _bsd_pkg() {
- 
-   pkg_delete)
-     flags=(
--      '-D[don'\''t execute deinstallation scripts]'
-+      '-D[don''t execute deinstallation scripts]'
-       '-d[remove empty directories]'
-       '-f[force deinstallation]'
--      '-n[don'\''t really deinstall packages]'
-+      '-n[don''t really deinstall packages]'
-       '-p[specify prefix]:prefix directory:_files -/'
-       '-v[be verbose]'
-     )
-@@ -136,35 +140,43 @@ _bsd_pkg() {
-     freebsd*)
-       flags=(
-         $flags[@]
--      '(:)-a[delete all installed packages]'
-+        '(:)-a[delete all installed packages]'
-         '-G[do not expand glob patterns]'
--      '-i[be interactive]'
-+        '-i[be interactive]'
-         '-r[delete recursively]'
-         '-x[use regular expression]'
-       )
-       ;;
-     netbsd*)
-       flags=(
--      $flags[@]
--      '(:)-a[delete all installed packages]'
--      '-F[specify each package by an installed file]'
--      '-i[be interactive]'
--      '-O[only delete the package'\''s entries]'
-+        $flags[@]
-+        '(:)-a[delete all installed packages]'
-+        '-F[specify each package by an installed file]'
-+        '-i[be interactive]'
-+        '-O[only delete the package''s entries]'
-         '-R[delete upward recursively]'
-         '-r[delete recursively]'
--      '-V[show version and exit]'
-+        '-V[show version and exit]'
-       )
+@@ -157,14 +161,22 @@ _bsd_pkg() {
        ;;
      esac
  
@@ -194,41 +60,16 @@ $OpenBSD: patch-Completion_BSD_Command__
        '-c[show comment fields]'
        '-D[show install-message files]'
        '-d[show long descriptions]'
-@@ -188,30 +200,41 @@ _bsd_pkg() {
+@@ -188,7 +200,7 @@ _bsd_pkg() {
        flags=(
          $flags[@]
          '-G[do not expand glob patterns]'
 -      '-g[show files that'\''s modified]'
--      '-o[show origin]'
--      '-s[show total size occupied by each package]'
--      '-t[specify mktemp template]:mktemp template:_files -/'
--      '*-W[show which package the file belongs to]:file:_files'
--      '-x[use regular expression]'
-+        '-g[show files that are modified]'
-+        '-o[show origin]'
-+        '-s[show total size occupied by each package]'
-+        '-t[specify mktemp template]:mktemp template:_files -/'
-+        '*-W[show which package the file belongs to]:file:_files'
-+        '-x[use regular expression]'
-       )
-       ;;
-     netbsd*)
-       flags=(
--      $flags[@]
--      '-B[show build information]'
--      '-b[show RCS Id strings]'
--      '-F[specify each package by an installed file]'
--      '-S[show total size occupied by each package and its dependents]'
--      '-s[show total size occupied by each package]'
--      '-V[show version and exit]'
-+        $flags[@]
-+        '-B[show build information]'
-+        '-b[show RCS Id strings]'
-+        '-F[specify each package by an installed file]'
-+        '-S[show total size occupied by each package and its dependents]'
-+        '-s[show total size occupied by each package]'
-+        '-V[show version and exit]'
-       )
++      '-g[show files that are modified]'
+       '-o[show origin]'
+       '-s[show total size occupied by each package]'
+       '-t[specify mktemp template]:mktemp template:_files -/'
+@@ -209,9 +221,20 @@ _bsd_pkg() {
        ;;
      esac
  
Index: shells/zsh//patches/patch-Completion_Base_Utility__call_program
===================================================================
RCS file: shells/zsh//patches/patch-Completion_Base_Utility__call_program
diff -N shells/zsh//patches/patch-Completion_Base_Utility__call_program
--- shells/zsh//patches/patch-Completion_Base_Utility__call_program     28 Apr 
2015 06:30:13 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-$OpenBSD: patch-Completion_Base_Utility__call_program,v 1.1 2015/04/28 
06:30:13 jasper Exp $
-
-be conservative about redirecting _call_program stderr, the caller may have
-already done so
-http://sourceforge.net/p/zsh/code/ci/22c4ea424ce2e8febce04d324c5ec9898f5d534b/
-
---- Completion/Base/Utility/_call_program.orig Sat Apr 25 20:20:25 2015
-+++ Completion/Base/Utility/_call_program      Sat Apr 25 20:20:38 2015
-@@ -2,8 +2,8 @@
- 
- local tmp err_fd=-1
- 
--if (( ${debug_fd:--1} > 2 ))
--then exec {err_fd}>&2 # debug_fd is saved stderr, 2 is log file
-+if (( ${debug_fd:--1} > 2 )) || [[ ! -t 2 ]]
-+then exec {err_fd}>&2 # debug_fd is saved stderr, 2 is trace or redirect
- else exec {err_fd}>/dev/null
- fi
- 
Index: shells/zsh//patches/patch-Completion_Unix_Command__find
===================================================================
RCS file: shells/zsh//patches/patch-Completion_Unix_Command__find
diff -N shells/zsh//patches/patch-Completion_Unix_Command__find
--- shells/zsh//patches/patch-Completion_Unix_Command__find     2 Oct 2013 
19:49:12 -0000       1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,110 +0,0 @@
-$OpenBSD: patch-Completion_Unix_Command__find,v 1.3 2013/10/02 19:49:12 
gsoares Exp $
---- Completion/Unix/Command/_find.orig Sun Aug 11 04:52:54 2013
-+++ Completion/Unix/Command/_find      Sun Aug 11 04:53:00 2013
-@@ -1,82 +1,39 @@
--#compdef find
-+#compdef find (OpenBSD)
-+# Sebastian Stark <[email protected]>
- 
- _arguments \
--  '(- *)-help' '(-)--help' \
--  '(- *)-version' '(-)--version' \
--  '(-L -P)-H[only follow symlinks when resolving command-line arguments]' \
--  '(-H -P)-L[follow symlinks]' \
--  '(-H -L)-P[never follow symlinks]' \
--  '-D[print diagnostics]:deb option:(help tree search stat rates opt exec)' \
--  '-O+[enable query optimisation]:level:(1 2 3)' \
--  '*-daystart' \
--  '*-d' '*-depth' \
--  '*-follow' \
--  '(-noignore_readdir_race)-ignore_readdir_race' \
--  '*-maxdepth:maximum search depth' \
--  '*-mindepth:minimum search depth' \
--  '*-mount' \
--  '(-ignore_readdir_race)-noignore_readdir_race' \
--  '*-noleaf' \
--  '-regextype:regexp syntax:(emacs posix-awk posix-basic posix-egrep 
posix-extended)' \
--  '*-warn' \
--  '*-nowarn' \
--  '*-xdev' \
--  '*-amin:access time (minutes):' \
--  '*-cmin:inode change time (minutes):' \
--  '*-mmin:modification time (minutes):' \
--  '*-atime:access time (days):' \
--  '*-ctime:inode change time (days):' \
--  '*-mtime:modification time (days):' \
-+  '*-amin:access time (minutes)' \
-   '*-anewer:file to compare (access time):_files' \
-+  '*-atime:access time (days)' \
-+  '*-cmin:inode change time (minutes)' \
-   '*-cnewer:file to compare (inode change time):_files' \
--  '*-newer:file to compare (modification time):_files' \
--  '*-used:access after inode change (days):' \
-+  '*-ctime:inode change time (minutes)' \
-   '*-empty' \
--  '*-executable' \
--  '*-false' \
--  '*-fstype:file system type:_file_systems' \
--  '*-gid:numeric group ID:' \
-+  '*-exec:program: _command_names -e:*\;::program arguments: _normal' \
-+  '*-execdir:program: _command_names -e:*\;::program arguments: _normal' \
-+  '*-flags:special file flag:(arch opaque nodump sappnd schg uappnd uchg)' \
-+  '*-follow' \
-+  '*-fstype:filesystem type:(local rdonly union xfs umap procfs portal null 
nfs msdos mfs kernfs ffs fdesc ext2fs cd9660 ados)' \
-   '*-group:group:_groups' \
--  '*-uid:numeric user ID:' \
--  '*-user:user:_users' \
--  '*-lname:link pattern to search:' \
--  '*-ilname:link pattern to search (case insensitive):' \
--  '*-name:name pattern to search:' \
-   '*-iname:name pattern to search (case insensitive):' \
--  '*-path:path pattern to search:' \
--  '*-ipath:path pattern to search (case insensitive):' \
--  '*-regex:regular expression to search:' \
--  '*-iregex:regular expression to search (case insensitive):' \
--  '*-wholename:full path pattern to search:' \
--  '*-iwholename:full path pattern to search (case insensitive):' \
--  '*-inum:inode number:' \
-+  '*-inum:inode number' \
-   '*-links:number of links:' \
-+  '*-ls' \
-+  '*-maxdepth:maximum search depth:' \
-+  '*-mindepth:minimum search depth:' \
-+  '*-mmin:modification time (minutes):' \
-+  '*-mtime:modification time (days):' \
-+  '*-name:name pattern to search:' \
-+  '*-newer:file to compare (modification time):_files' \
-   '*-nouser' \
-   '*-nogroup' \
--  '*-perm:file permission bits:' \
--  '*-readable' \
--  '*-writable' \
--  '*-size:file size:' \
--  '*-samefile:same inode as:_files' \
--  '*-true' \
--  '*-type:file type:((b\:block\ special\ file c\:character\ special\ file 
d\:directory p\:named\ pipe f\:normal\ file l\:symbolic\ link s\:socket))' \
--  '*-xtype:file type:((b\:block\ special\ file c\:character\ special\ file 
d\:directory p\:named\ pipe f\:normal\ file l\:symbolic\ link s\:socket))' \
--  '*-delete' \
--  '*-exec:program: _command_names -e:*\;::program arguments: _normal' \
--  '*-execdir:program: _command_names -e:*\;::program arguments: _normal' \
-   '*-ok:program: _command_names -e:*\;::program arguments: _normal' \
--  '*-okdir:program: _command_names -e:*\;::program arguments: _normal' \
--  '*-fls:output file:_files' \
--  '*-fprint:output file:_files' \
--  '*-fprint0:output file:_files' \
--  '*-fprintf:output file:_files:output format:' \
-+  '*-path:path pattern to search:' \
-+  '*-perm:file permission bits:' \
-   '*-print' \
-   '*-print0' \
--  '*-printf:output format:' \
-   '*-prune' \
--  '*-quit' \
--  '*-ls' \
--  '*-and' '*-a' \
--  '*-or' '*-o' \
--  '*-not' \
-+  '*-size:file size:' \
-+  '*-type:file type:((b\:block\ special\ file c\:character\ special\ file 
d\:directory p\:named\ pipe f\:normal\ file l\:symbolic\ link s\:socket))' \
-+  '*-user:user:_users' \
-   '*:directory:_files -/'
Index: shells/zsh//patches/patch-Completion_Unix_Command__tmux
===================================================================
RCS file: shells/zsh//patches/patch-Completion_Unix_Command__tmux
diff -N shells/zsh//patches/patch-Completion_Unix_Command__tmux
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ shells/zsh//patches/patch-Completion_Unix_Command__tmux     2 Jul 2015 
05:54:30 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+--- Completion/Unix/Command/_tmux.orig Wed Dec  3 15:00:57 2014
++++ Completion/Unix/Command/_tmux      Wed Dec  3 15:10:25 2014
+@@ -1497,12 +1497,11 @@ function _tmux() {
+ 
+     args=(
+         '-2[force using 256 colours]'
+-        '-8[force using 88 colours]'
+         '-c[execute a shell command]:command name:_command_names'
++      '-C[start in control mode]'
+         '-f[specify configuration file]:tmux config file:_files -g "*(-.)"'
+         '-l[behave like a login shell]'
+         '-L[specify socket name]:socket name:__tmux-socket-name'
+-        '-q[do not send informational messages]'
+         '-S[specify socket path]:server socket:_path_files -g "*(=,/)"'
+         '-u[force using UTF-8]'
+         '-v[request verbose logging]'
Index: shells/zsh//patches/patch-Completion_Unix_Type__diff_options
===================================================================
RCS file: 
/cvs/ports/shells/zsh/patches/patch-Completion_Unix_Type__diff_options,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Completion_Unix_Type__diff_options
--- shells/zsh//patches/patch-Completion_Unix_Type__diff_options        17 Apr 
2014 12:12:20 -0000      1.2
+++ shells/zsh//patches/patch-Completion_Unix_Type__diff_options        2 Jul 
2015 05:54:30 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-Completion_Unix_Type__diff_options,v 1.2 2014/04/17 12:12:20 
jasper Exp $
---- Completion/Unix/Type/_diff_options.orig    Wed Nov 27 20:00:19 2013
-+++ Completion/Unix/Type/_diff_options Mon Apr 14 18:10:09 2014
-@@ -119,9 +119,35 @@ else
+--- Completion/Unix/Type/_diff_options.orig    Sun May  3 19:57:18 2015
++++ Completion/Unix/Type/_diff_options Thu Jul  2 03:57:35 2015
+@@ -122,9 +122,35 @@ else
          '-S+[set first file in comparison]:start with file:_files'
        )
      ;;
Index: shells/zsh//patches/patch-Doc_zsh_texi
===================================================================
RCS file: /cvs/ports/shells/zsh/patches/patch-Doc_zsh_texi,v
retrieving revision 1.8
diff -u -p -r1.8 patch-Doc_zsh_texi
--- shells/zsh//patches/patch-Doc_zsh_texi      22 Apr 2015 11:52:40 -0000      
1.8
+++ shells/zsh//patches/patch-Doc_zsh_texi      2 Jul 2015 05:54:30 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-Doc_zsh_texi,v 1.8 2015/04/22 11:52:40 jca Exp $
---- Doc/zsh.texi.orig  Tue Oct  7 20:09:19 2014
-+++ Doc/zsh.texi       Sat Mar 28 11:55:00 2015
-@@ -7,6 +7,10 @@
+--- Doc/zsh.texi.orig  Sun May 31 19:47:49 2015
++++ Doc/zsh.texi       Thu Jul  2 04:13:28 2015
+@@ -6,6 +6,10 @@
  @end iftex
  @setfilename zsh.info
  @settitle zsh
@@ -12,7 +12,7 @@ $OpenBSD: patch-Doc_zsh_texi,v 1.8 2015/
  @c %**end of header
  
  @ifinfo
-@@ -4074,7 +4078,7 @@ you may see in your prompt (see
+@@ -4144,7 +4148,7 @@ you may see in your prompt (see
  A history expansion begins with the first character of the @t{histchars}
  parameter, which is `@t{!}' by default, and may occur anywhere on the
  command line; history expansions do not nest.  The `@t{!}' can be escaped
@@ -21,7 +21,7 @@ $OpenBSD: patch-Doc_zsh_texi,v 1.8 2015/
  to suppress its special meaning.  Double quotes will @emph{not} work for
  this.  Following this history character is an optional event designator
  (@ref{Event Designators}) and then an optional word
-@@ -10526,7 +10530,7 @@ For example,
+@@ -10820,7 +10824,7 @@ For example,
  @example
  unsetopt localtraps
  trap - INT
@@ -30,7 +30,7 @@ $OpenBSD: patch-Doc_zsh_texi,v 1.8 2015/
  @end example
  
  @noindent
-@@ -20418,7 +20422,7 @@ zstyle ':completion:*:default' list-colors $@{(s.:.)LS
+@@ -21062,7 +21066,7 @@ zstyle ':completion:*:default' list-colors \ 
  
  @noindent
  The default colors are the same as for the GNU @t{ls} command and can be
@@ -39,7 +39,7 @@ $OpenBSD: patch-Doc_zsh_texi,v 1.8 2015/
  
  @kindex list-dirs-first, completion style
  @item @t{list-dirs-first}
-@@ -20551,7 +20555,7 @@ generates no matches, case-insensitive completion:
+@@ -21195,7 +21199,7 @@ generates no matches, case-insensitive completion:
  
  @noindent
  @example
@@ -48,16 +48,16 @@ $OpenBSD: patch-Doc_zsh_texi,v 1.8 2015/
  @end example
  
  @noindent
-@@ -20577,7 +20581,7 @@ case-insensitive completion only with @t{_complete}:
+@@ -21222,7 +21226,7 @@ case-insensitive completion only with @t{_complete}:
  @example
  zstyle ':completion:*' completer _complete _prefix
- zstyle ':completion:*:complete:*' matcher-list \ 
+ zstyle ':completion:*:complete:*:*:*' matcher-list \ 
 -       @value{dsq} 'm:@{a-zA-Z@}=@{A-Za-z@}'
 +       @t{'}@t{'} 'm:@{a-zA-Z@}=@{A-Za-z@}'
  @end example
  
  @noindent
-@@ -24141,7 +24145,7 @@ generates at least one match. E.g.:
+@@ -24804,7 +24808,7 @@ generates at least one match. E.g.:
  
  @noindent
  @example
@@ -66,7 +66,7 @@ $OpenBSD: patch-Doc_zsh_texi,v 1.8 2015/
  @end example
  
  @noindent
-@@ -24353,7 +24357,7 @@ use is
+@@ -25016,7 +25020,7 @@ use is
  
  @noindent
  @example
@@ -75,7 +75,7 @@ $OpenBSD: patch-Doc_zsh_texi,v 1.8 2015/
  @end example
  
  @noindent
-@@ -24441,7 +24445,7 @@ performed on the first word in the range.  For example
+@@ -25104,7 +25108,7 @@ performed on the first word in the range.  For example
  
  @noindent
  @example
Index: shells/zsh//patches/patch-Src_Modules_langinfo_c
===================================================================
RCS file: shells/zsh//patches/patch-Src_Modules_langinfo_c
diff -N shells/zsh//patches/patch-Src_Modules_langinfo_c
--- shells/zsh//patches/patch-Src_Modules_langinfo_c    22 Apr 2015 12:00:47 
-0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-$OpenBSD: patch-Src_Modules_langinfo_c,v 1.2 2015/04/22 12:00:47 jca Exp $
-
-Fixed upstream:
-  
http://sourceforge.net/p/zsh/code/ci/b4aa9cdc7641c6c923c1bda1c73111d80be79ba1/
-
---- Src/Modules/langinfo.c.orig        Sat Mar 28 11:55:39 2015
-+++ Src/Modules/langinfo.c     Sat Mar 28 11:56:37 2015
-@@ -395,7 +395,8 @@ liitem(const char *name)
- static HashNode
- getlanginfo(UNUSED(HashTable ht), const char *name)
- {
--    int len, *elem;
-+    nl_item *elem;
-+    int len;
-     char *listr, *nameu;
-     Param pm = NULL;
- 
Index: shells/zsh//pkg/PLIST
===================================================================
RCS file: /cvs/ports/shells/zsh/pkg/PLIST,v
retrieving revision 1.40
diff -u -p -r1.40 PLIST
--- shells/zsh//pkg/PLIST       22 Apr 2015 11:52:40 -0000      1.40
+++ shells/zsh//pkg/PLIST       2 Jul 2015 05:54:30 -0000
@@ -2,7 +2,7 @@
 @pkgpath shells/zsh,-main
 @shell bin/zsh
 %%SHARED%%
-@bin bin/zsh-${V}
+@bin bin/${FULLPKGNAME}
 @man man/man1/zsh.1
 @man man/man1/zshall.1
 @man man/man1/zshbuiltins.1
@@ -67,6 +67,7 @@ share/zsh/${V}/functions/_acpi
 share/zsh/${V}/functions/_acpitool
 share/zsh/${V}/functions/_acroread
 share/zsh/${V}/functions/_adb
+share/zsh/${V}/functions/_add-zsh-hook
 share/zsh/${V}/functions/_alias
 share/zsh/${V}/functions/_aliases
 share/zsh/${V}/functions/_all_labels
@@ -111,12 +112,15 @@ share/zsh/${V}/functions/_bpython
 share/zsh/${V}/functions/_brace_parameter
 share/zsh/${V}/functions/_brctl
 share/zsh/${V}/functions/_bsd_pkg
+share/zsh/${V}/functions/_bsdconfig
+share/zsh/${V}/functions/_bsdinstall
 share/zsh/${V}/functions/_btrfs
 share/zsh/${V}/functions/_bts
 share/zsh/${V}/functions/_bug
 share/zsh/${V}/functions/_builtin
 share/zsh/${V}/functions/_bzip2
 share/zsh/${V}/functions/_bzr
+share/zsh/${V}/functions/_cabal
 share/zsh/${V}/functions/_cache_invalid
 share/zsh/${V}/functions/_cal
 share/zsh/${V}/functions/_calendar
@@ -138,6 +142,8 @@ share/zsh/${V}/functions/_chown
 share/zsh/${V}/functions/_chrt
 share/zsh/${V}/functions/_chsh
 share/zsh/${V}/functions/_clay
+share/zsh/${V}/functions/_cmdstring
+share/zsh/${V}/functions/_cmp
 share/zsh/${V}/functions/_combination
 share/zsh/${V}/functions/_comm
 share/zsh/${V}/functions/_command
@@ -181,6 +187,7 @@ share/zsh/${V}/functions/_dchroot-dsa
 share/zsh/${V}/functions/_dcop
 share/zsh/${V}/functions/_dcut
 share/zsh/${V}/functions/_dd
+share/zsh/${V}/functions/_deb_architectures
 share/zsh/${V}/functions/_deb_packages
 share/zsh/${V}/functions/_debchange
 share/zsh/${V}/functions/_debdiff
@@ -210,7 +217,6 @@ share/zsh/${V}/functions/_django
 share/zsh/${V}/functions/_dladm
 share/zsh/${V}/functions/_dlocate
 share/zsh/${V}/functions/_dmidecode
-share/zsh/${V}/functions/_docker
 share/zsh/${V}/functions/_domains
 share/zsh/${V}/functions/_dpatch-edit-patch
 share/zsh/${V}/functions/_dpkg
@@ -230,6 +236,7 @@ share/zsh/${V}/functions/_dynamic_direct
 share/zsh/${V}/functions/_ecasound
 share/zsh/${V}/functions/_echotc
 share/zsh/${V}/functions/_echoti
+share/zsh/${V}/functions/_elfdump
 share/zsh/${V}/functions/_elinks
 share/zsh/${V}/functions/_elm
 share/zsh/${V}/functions/_email_addresses
@@ -245,6 +252,7 @@ share/zsh/${V}/functions/_expand
 share/zsh/${V}/functions/_expand_alias
 share/zsh/${V}/functions/_expand_word
 share/zsh/${V}/functions/_extensions
+share/zsh/${V}/functions/_external_pwds
 share/zsh/${V}/functions/_fakeroot
 share/zsh/${V}/functions/_fc
 share/zsh/${V}/functions/_feh
@@ -256,6 +264,7 @@ share/zsh/${V}/functions/_file_descripto
 share/zsh/${V}/functions/_file_systems
 share/zsh/${V}/functions/_files
 share/zsh/${V}/functions/_find
+share/zsh/${V}/functions/_find_net_interfaces
 share/zsh/${V}/functions/_finger
 share/zsh/${V}/functions/_fink
 share/zsh/${V}/functions/_first
@@ -339,8 +348,11 @@ share/zsh/${V}/functions/_iptables
 share/zsh/${V}/functions/_irssi
 share/zsh/${V}/functions/_ispell
 share/zsh/${V}/functions/_iwconfig
+share/zsh/${V}/functions/_jails
 share/zsh/${V}/functions/_java
 share/zsh/${V}/functions/_java_class
+share/zsh/${V}/functions/_jexec
+share/zsh/${V}/functions/_jls
 share/zsh/${V}/functions/_jobs
 share/zsh/${V}/functions/_jobs_bg
 share/zsh/${V}/functions/_jobs_builtin
@@ -408,6 +420,7 @@ share/zsh/${V}/functions/_metaflac
 share/zsh/${V}/functions/_mh
 share/zsh/${V}/functions/_mii-tool
 share/zsh/${V}/functions/_mime_types
+share/zsh/${V}/functions/_mixerctl
 share/zsh/${V}/functions/_mkdir
 share/zsh/${V}/functions/_mkshortcut
 share/zsh/${V}/functions/_mkzsh
@@ -444,6 +457,7 @@ share/zsh/${V}/functions/_next_label
 share/zsh/${V}/functions/_next_tags
 share/zsh/${V}/functions/_nice
 share/zsh/${V}/functions/_nkf
+share/zsh/${V}/functions/_nl
 share/zsh/${V}/functions/_nm
 share/zsh/${V}/functions/_nmap
 share/zsh/${V}/functions/_nmcli
@@ -524,6 +538,8 @@ share/zsh/${V}/functions/_pump
 share/zsh/${V}/functions/_putclip
 share/zsh/${V}/functions/_pydoc
 share/zsh/${V}/functions/_python
+share/zsh/${V}/functions/_python_modules
+share/zsh/${V}/functions/_qdbus
 share/zsh/${V}/functions/_qemu
 share/zsh/${V}/functions/_qiv
 share/zsh/${V}/functions/_qtplay
@@ -533,8 +549,10 @@ share/zsh/${V}/functions/_rake
 share/zsh/${V}/functions/_ranlib
 share/zsh/${V}/functions/_rar
 share/zsh/${V}/functions/_rcs
+share/zsh/${V}/functions/_rdesktop
 share/zsh/${V}/functions/_read
 share/zsh/${V}/functions/_read_comp
+share/zsh/${V}/functions/_readelf
 share/zsh/${V}/functions/_readshortcut
 share/zsh/${V}/functions/_rebootin
 share/zsh/${V}/functions/_redirect
@@ -556,6 +574,7 @@ share/zsh/${V}/functions/_rsync
 share/zsh/${V}/functions/_rubber
 share/zsh/${V}/functions/_ruby
 share/zsh/${V}/functions/_run-help
+share/zsh/${V}/functions/_runit
 share/zsh/${V}/functions/_sablotron
 share/zsh/${V}/functions/_samba
 share/zsh/${V}/functions/_savecore
@@ -693,6 +712,7 @@ share/zsh/${V}/functions/_wajig
 share/zsh/${V}/functions/_wakeup_capable_devices
 share/zsh/${V}/functions/_wanna-build
 share/zsh/${V}/functions/_wanted
+share/zsh/${V}/functions/_wc
 share/zsh/${V}/functions/_webbrowser
 share/zsh/${V}/functions/_wget
 share/zsh/${V}/functions/_whereis
@@ -721,6 +741,7 @@ share/zsh/${V}/functions/_x_visual
 share/zsh/${V}/functions/_x_window
 share/zsh/${V}/functions/_xargs
 share/zsh/${V}/functions/_xauth
+share/zsh/${V}/functions/_xautolock
 share/zsh/${V}/functions/_xclip
 share/zsh/${V}/functions/_xdvi
 share/zsh/${V}/functions/_xfig
@@ -739,15 +760,16 @@ share/zsh/${V}/functions/_xt_session_id
 share/zsh/${V}/functions/_xterm
 share/zsh/${V}/functions/_xv
 share/zsh/${V}/functions/_xwit
+share/zsh/${V}/functions/_xxd
 share/zsh/${V}/functions/_xz
 share/zsh/${V}/functions/_yafc
 share/zsh/${V}/functions/_yast
-share/zsh/${V}/functions/_yast2
 share/zsh/${V}/functions/_yodl
 share/zsh/${V}/functions/_yp
 share/zsh/${V}/functions/_yum
 share/zsh/${V}/functions/_zargs
 share/zsh/${V}/functions/_zattr
+share/zsh/${V}/functions/_zcalc
 share/zsh/${V}/functions/_zcalc_line
 share/zsh/${V}/functions/_zcat
 share/zsh/${V}/functions/_zcompile
@@ -772,11 +794,13 @@ share/zsh/${V}/functions/_zstyle
 share/zsh/${V}/functions/_ztodo
 share/zsh/${V}/functions/_zypper
 share/zsh/${V}/functions/add-zsh-hook
+share/zsh/${V}/functions/after
 share/zsh/${V}/functions/age
 share/zsh/${V}/functions/allopt
 share/zsh/${V}/functions/backward-kill-word-match
 share/zsh/${V}/functions/backward-word-match
 share/zsh/${V}/functions/bashcompinit
+share/zsh/${V}/functions/before
 share/zsh/${V}/functions/calendar
 share/zsh/${V}/functions/calendar_add
 share/zsh/${V}/functions/calendar_edit
@@ -860,16 +884,20 @@ share/zsh/${V}/functions/replace-string
 share/zsh/${V}/functions/replace-string-again
 share/zsh/${V}/functions/run-help
 share/zsh/${V}/functions/run-help-git
+share/zsh/${V}/functions/run-help-ip
 share/zsh/${V}/functions/run-help-openssl
 share/zsh/${V}/functions/run-help-p4
 share/zsh/${V}/functions/run-help-sudo
 share/zsh/${V}/functions/run-help-svk
 share/zsh/${V}/functions/run-help-svn
+share/zsh/${V}/functions/select-bracketed
+share/zsh/${V}/functions/select-quoted
 share/zsh/${V}/functions/select-word-style
 share/zsh/${V}/functions/send-invisible
 share/zsh/${V}/functions/smart-insert-last-word
 share/zsh/${V}/functions/split-shell-arguments
 share/zsh/${V}/functions/sticky-note
+share/zsh/${V}/functions/surround
 share/zsh/${V}/functions/tcp_alias
 share/zsh/${V}/functions/tcp_close
 share/zsh/${V}/functions/tcp_command
@@ -889,6 +917,7 @@ share/zsh/${V}/functions/tcp_spam
 share/zsh/${V}/functions/tcp_talk
 share/zsh/${V}/functions/tcp_wait
 share/zsh/${V}/functions/tetris
+share/zsh/${V}/functions/tetriscurses
 share/zsh/${V}/functions/throw
 share/zsh/${V}/functions/transpose-lines
 share/zsh/${V}/functions/transpose-words-match

Reply via email to