delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/05/19:22:49

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <01a001c806e5$57dda4c0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <D54789814101471E80B22ACB888FF4EE AT 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
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <D54789814101471E80B22ACB888FF4EE@kingmark>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019