X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <01a001c806e5$57dda4c0$2e08a8c0@CAM.ARTIMI.COM> <D54789814101471E80B22ACB888FF4EE@kingmark>
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: <D54789814101471E80B22ACB888FF4EE@kingmark>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

