Date: Mon, 14 Nov 2011 12:08:09 +0100 From: Baptiste Daroussin <bapt@freebsd.org> To: Chris Rees <crees@freebsd.org> Cc: Ed Schouten <ed@80386.nl>, ports-committers@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org, matthew@cashdollar.org Subject: Re: cvs commit: ports/shells/zsh/files patch-Src_watch.c Message-ID: <20111114110809.GC2888@azathoth.lan> In-Reply-To: <CADLo83-9jpoKccjRV2Fs8Ups1OTj7FQsFGA2UABZY280fjxfRA@mail.gmail.com> References: <201111130956.pAD9u85M053975@repoman.freebsd.org> <CADLo83-9jpoKccjRV2Fs8Ups1OTj7FQsFGA2UABZY280fjxfRA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sun, Nov 13, 2011 at 10:45:35AM +0000, Chris Rees wrote: > On 13 November 2011 09:56, Baptiste Daroussin <bapt@freebsd.org> wrote: > > bapt 2011-11-13 09:56:08 UTC > > > > FreeBSD ports repository > > > > Added files: > > shells/zsh/files patch-Src_watch.c > > Log: > > - Fix build for badly upgraded systems which have both utmp.h and utmpx.h > > > > PR: ports/156263 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=156263 > > Submitted by: Matthew Cashdollar <matthew@cashdollar.org> > > Feature safe: yes > > > > Fixing it here will only mask the problem-- why are we adding a fix to > support a broken system? > > The proper solution is to rm utmp.h in that system, is it not? > > I suggest a different patch at [1]. > > Chris > > [1] http://www.bayofrum.net/~crees/patches/zsh-utmpx-fix.diff.txt > [removing the patchfile too] Well no I don't think, or you would have to add the same patch in lots of ports. In fact, I have been pondering for long what would be the best fix for this. And if I need to provide a fix. Given that some people can use zsh for root (as I do :)) I think being able to rebuild zsh a clean way before doing the make delete-old is nice, that is why I did a fix that way. regards, Bapt [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7A9pkACgkQ8kTtMUmk6EyFtACgmroQK9EEXdUnlce1smh6BtFd Hh8AoIkh1WDwNN+6QKttXx6TDUVFCv6G =XyKj -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111114110809.GC2888>
