Subject: Re: CVS commit: pkgsrc
To: None <tech-pkg@netbsd.org>
From: Alistair G. Crooks <agc@ftp.netbsd.org>
List: tech-pkg
Date: 11/19/1999 05:38:30
> On Fri, 19 Nov 1999, Alistair G. Crooks wrote:
> > Modified Files:
> > 	pkgsrc/graphics/tkpiechart: Makefile
> > 	pkgsrc/graphics/tkpiechart/files: patch-sum
> > 	pkgsrc/graphics/tkpiechart/patches: patch-aa patch-ab
> > 
> > Log Message:
> > Unfortunately, the two files being patched contain RCS Ids in the
> > surrounding context.  Introduce a pre-patch stage which removes the
> > magic '$' characters from the RCS Id, which means that the patch-*
> > files in the package need no longer contain the magic RCS Ids, and so
> > the pacthes can be applied without any fuzz factor.
> 
> How about generating the patches with "patch -1"?

s/patch/diff/?

For much the same reason as we're trying to get rid of any fuzzy
patches - the more context that is available to patch(1), the less
likely we are to apply patches in the wrong place. In the same way
that a fuzz factor less than 3 worries me, a diff with context less
than 3 worries me, too.

Regards,
Alistair