This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problems compiling grep and friends


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]