From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Patch BUG?? Date: Sat, 09 May 1998 15:26:25 -0400 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 53 Message-ID: <3554ADE1.5E18@cam.org> References: <19980509172947 DOT AAG16984 AT ppp105 DOT cartsys DOT com> NNTP-Posting-Host: dialup-578.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Nate Eldredge wrote: > Failing that, please tell us exactly what you are doing. I'm trying to patch allegro, following Exactely the instructions in it. >In particular, it > would be nice to know: > > * Exactly how you invoke `patch', and from which directory. DJGPP is in e:\djgpp Allegro is in e:\djgpp\allegro I unpak the diff file in e:\djgpp I call patch with patch -p1 < difapr26.diff > * The directory structure of the files you are trying to patch. it's allegro 3.0 all the files are in subdirectories of e:\djgpp\allegro like e:\djgpp\allegro\src or e:\djgpp\allegro\examples etc. > * The version of `patch'. I tried 2.4 AND 2.5 with the same result > * First few lines of the patch file. diff -U 3 -N --recursive previous/allegro/ChangeLog current/allegro/ChangeLog --- previous/allegro/ChangeLog Wed Dec 10 21:45:56 1997 +++ current/allegro/ChangeLog Sun Apr 26 17:39:28 1998 @@ -1,4 +1,140 @@ +================================================= +============ Changes from 3.0 to WIP ============ and the error is: can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -U 3 -N --recursive previous/allegro/ChangeLog current/allegro/ChangeLog |--- previous/allegro/ChangeLog Wed Dec 10 21:45:56 1997 |+++ current/allegro/ChangeLog Sun Apr 26 17:39:28 1998 -------------------------- File to patch: What is bothering me, and why I called it a bug (somewhere) is the fact that the SAME thing (in the SAME conditions) works fine IF LFN=N. If LFN=Y, without changing anything else, the patch fails