From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 20 17:30:46 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F6E316A4DA for ; Thu, 20 Jul 2006 17:30:46 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 862A743D73 for ; Thu, 20 Jul 2006 17:30:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6KHUWLX019718 for ; Thu, 20 Jul 2006 17:30:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6KHUW9S019716; Thu, 20 Jul 2006 17:30:32 GMT (envelope-from gnats) Resent-Date: Thu, 20 Jul 2006 17:30:32 GMT Resent-Message-Id: <200607201730.k6KHUW9S019716@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Simon Olofsson" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57FAA16A4DE; Thu, 20 Jul 2006 17:28:05 +0000 (UTC) (envelope-from simon@olofsson.de) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 489A243D72; Thu, 20 Jul 2006 17:27:54 +0000 (GMT) (envelope-from simon@olofsson.de) Received: from mail-in-03-z2.arcor-online.net (mail-in-03-z2.arcor-online.net [151.189.8.15]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 2C0C619B87C; Thu, 20 Jul 2006 19:27:53 +0200 (CEST) Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mail-in-03-z2.arcor-online.net (Postfix) with ESMTP id 19B3027B407; Thu, 20 Jul 2006 19:27:53 +0200 (CEST) Received: from gul.lan.gath3n.de (dslb-084-060-147-003.pools.arcor-ip.net [84.60.147.3]) by mail-in-03.arcor-online.net (Postfix) with SMTP id 9B0E320B676; Thu, 20 Jul 2006 19:27:52 +0200 (CEST) Received: by gul.lan.gath3n.de (sSMTP sendmail emulation); Thu, 20 Jul 2006 19:27:52 +0200 Message-Id: <20060720172752.9B0E320B676@mail-in-03.arcor-online.net> Date: Thu, 20 Jul 2006 19:27:52 +0200 From: "Simon Olofsson" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: sergei@FreeBSD.org Subject: ports/100614: [PATCH] shells/zsh: Acroread completion X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 17:30:46 -0000 >Number: 100614 >Category: ports >Synopsis: [PATCH] shells/zsh: Acroread completion >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 20 17:30:31 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Simon Olofsson >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD gul.lan.gath3n.de 6.1-STABLE FreeBSD 6.1-STABLE #26: Tue Jul 4 09:47:53 CEST >Description: - This fix is from the zhs cvs: http://zsh.cvs.sourceforge.net/zsh/zsh/Completion/X/Command/_acroread?r1=1.5&r2=1.6 it fixes an annoying bug with Acroread completion - Removed a whitespace because portlint(1) complained :) Added file(s): - files/patch-Completion-X-Command-_acroread Port maintainer (sergei@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- zsh-4.3.2_1.patch begins here --- 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= 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 --- zsh-4.3.2_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: