Problems compiling grep and friends

Dave Korn dave.korn@artimi.com
Fri Oct 5 23:22:00 GMT 2007


On 05 October 2007 23:16, Siegfried Heintze wrote:

> Dave,
> I'm not sure what to do. I see you attached a diffs file. Is there a utility
> such as patch that I can use to apply those diffs? What would be the
> command?

  There's a utility *exactly* such as patch that you can use to apply those
diffs, it's patch!  Place the diffs file in the grep top-level source
directory, cd into that directory in a shell and run

patch --dry-run -p0 < diffs.txt

which will do a quick trial run.  You may see some output about "matched at
... offset" or "fuzz", but that's ok, as long as there are no rejections.  If
it looks ok, apply the patch for real by running

patch -p0 < diffs.txt

  Then reconfigure and re-build, and you should be ok.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list