Bug 115094

Summary: [PATCH] shells/zsh: fix for using *env()
Product: Ports & Packages Reporter: Sean Farley <scf>
Component: Individual Port(s)Assignee: Sergei Kolobov <sergei>
Status: Closed FIXED    
Severity: Affects Only Me CC: sergei
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
zsh-4.3.4_1.patch none

Description Sean Farley freebsd_committer freebsd_triage 2007-07-31 20:30:01 UTC
This patch by Peter Stephenson adds (un)setenv() detection to zsh.  This
fixes the issue on 7-CURRENT where zsh was manipulating environ directly
in conflict with the new *env() functions.  6-STABLE continues to works
correctly.

See "zsh oddities with recent -current" for the initial report:
http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075538.html

Here is the thread about the patch:
http://www.zsh.org/mla/workers/2007/msg00619.html

Notes:
- With the recent autoconf changes, I am not sure if the patches to both
  configure and configure.ac are needed.
- The patch to the test case is not really needed.
- The next version of zsh should have this fix in it.

Added file(s):
- files/patch-environ

Port maintainer (sergei@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-31 20:30:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-10-05 09:22:51 UTC
sergei      2007-10-05 08:22:46 UTC

  FreeBSD ports repository

  Modified files:
    shells/zsh           Makefile 
  Added files:
    shells/zsh/files     patch-Completion-Unix-Command-_locate 
                         patch-Completion-Unix-Command-_mount 
                         patch-Completion-Unix-Type-_canonical_paths 
                         patch-environ 
  Log:
  - Add Peter Stephenson's patch from Zsh CVS repo that adds (un)setenv()
    detection. This fixes the issue on 7-CURRENT where Zsh was manipulating
    environment directly in conflict with the new *env() functions:
       http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075538.html
    6-STABLE continues to works correctly.
  
    More info about the patch:
       http://www.zsh.org/mla/workers/2007/msg00619.html
  
  - Fix completions for locate(1), mount(8), umount(8) to avoid some linuxisms
    and do the right thing under FreeBSD
  
  PR:             ports/115094, ports/115702
  Submitted by:   Sean C. Farley (scf)
  
  Revision  Changes    Path
  1.88      +1 -1      ports/shells/zsh/Makefile
  1.1       +40 -0     ports/shells/zsh/files/patch-Completion-Unix-Command-_locate (new)
  1.1       +13 -0     ports/shells/zsh/files/patch-Completion-Unix-Command-_mount (new)
  1.1       +20 -0     ports/shells/zsh/files/patch-Completion-Unix-Type-_canonical_paths (new)
  1.1       +253 -0    ports/shells/zsh/files/patch-environ (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Sergei Kolobov freebsd_committer freebsd_triage 2007-10-05 09:23:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!