FreeBSD Bugzilla – Attachment 68439 Details for
Bug 100614
[PATCH] shells/zsh: Acroread completion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
zsh-4.3.2_1.patch
zsh-4.3.2_1.patch (text/plain), 2.11 KB, created by
Simon Olofsson
on 2006-07-20 18:30:31 UTC
(
hide
)
Description:
zsh-4.3.2_1.patch
Filename:
MIME Type:
Creator:
Simon Olofsson
Created:
2006-07-20 18:30:31 UTC
Size:
2.11 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/shells/zsh/Makefile /usr/home/simon/src/ports/shells/zsh/Makefile >--- /usr/ports/shells/zsh/Makefile Tue May 2 11:03:06 2006 >+++ /usr/home/simon/src/ports/shells/zsh/Makefile Thu Jul 20 18:34:58 2006 >@@ -12,7 +12,7 @@ > # (default: on) > # WITHOUT_ZSH_MAILDIR=yes disable support for Maildirs in MAIL and MAILPATH > # (default: on) >-# WITHOUT_ZSH_MULTIBYTE=yes disable multibyte character support >+# WITHOUT_ZSH_MULTIBYTE=yes disable multibyte character support > # (default: on) > # ZSH_ETCDIR=<dir> directory for zsh system-wide configuration files: > # zshenv, zlogin, zprofile, zshrc, zlogout. >@@ -28,6 +28,7 @@ > > PORTNAME= zsh > PORTVERSION= 4.3.2 >+PORTREVISION= 1 > CATEGORIES= shells > MASTER_SITES= \ > http://archive.progeny.com/zsh/ \ >@@ -122,6 +123,7 @@ > ${RM} -f ${WRKSRC}/Functions/MIME/zsh-mime-setup.bak > .if ${OSVERSION} >= 503000 > ${RM} -f ${WRKSRC}/Completion/Unix/Type/_tar_archive.orig >+ ${RM} -f ${WRKSRC}/Completion/X/Command/_acroread.orig > .endif > > post-build: >diff -ruN --exclude=CVS /usr/ports/shells/zsh/files/patch-Completion-X-Command-_acroread /usr/home/simon/src/ports/shells/zsh/files/patch-Completion-X-Command-_acroread >--- /usr/ports/shells/zsh/files/patch-Completion-X-Command-_acroread Thu Jan 1 01:00:00 1970 >+++ /usr/home/simon/src/ports/shells/zsh/files/patch-Completion-X-Command-_acroread Thu Jul 20 18:04:36 2006 >@@ -0,0 +1,17 @@ >+--- Completion/X/Command/_acroread 2005/05/10 12:26:24 1.5 >++++ Completion/X/Command/_acroread 2006/03/26 15:15:10 1.6 >+@@ -4,12 +4,12 @@ >+ >+ # Try extracting the version number directly from the executable. >+ # (This will fail if the executable is a wrapper script for acroread.) >+-local ver=${${${(f)"$(<$commands[$words[1]])"}:#^ver=*}##ver=} >++local ver=${${${(Mf)"$(<$commands[$words[1]])"}:#ver=*}##ver=} >+ [[ -n $ver ]] && _acroread_version=$ver >+ >+ if (( ! $+_acroread_version )); then >+ local acropath=${${(s. .)${${(f)"$($words[1] -help 2>&1)"}[1]}}[2]} >+- _acroread_version=${${${(f)"$(<$acropath)"}:#^ver=*}##ver=} >++ _acroread_version=${${${(Mf)"$(<$acropath)"}:#ver=*}##ver=} >+ fi >+ >+ if [[ $_acroread_version == 7.* ]]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 100614
: 68439