X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <01a001c806e5$57dda4c0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> Subject: RE: Problems compiling grep and friends Date: Sat, 6 Oct 2007 00:20:00 +0100 Message-ID: <025a01c807a6$40a463e0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/