Subject: Re: diff and patch (was: CVS commit: pkgsrc/sysutils/coreutils)
To: grant beattie <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 11/24/2003 08:18:11
On Sun, 23 Nov 2003, grant beattie wrote:

> > > Log Message:
> > > Recreate patch because Mac OS X's patch refuses to apply it.
> >
> > I have had problems like this about ten times in the past year or so.
> >
> > Are there any diff (or patch) switches that we should use to make sure
> > that it works better over different versions of patch (or diff)?
> use pkgdiff from pkgtools/pkgdiff.
> I don't know why anyone would create patches using anything else, this
> is the documented, working tool to do it.

I already often use it. And it sometimes creates patches that are
incompatible with different versions of patch.

It looks like it just uses normal "diff -u -p". I am wondering if there
are any switches to make different versions of patch be more compatible
with the different diff's made. (So maybe different patch options can be
used with pkgsrc?)

   Jeremy C. Reed