Re: problem with patch 6.0.046
- On Thursday, November 1, 2001, at 11:04 AM, Dan Sharp wrote:
>> From: Benji Fisher <fisherbb@...>Thanks, it works now. My mistake was thinking that -p2 applied to
>> *** ../vim60.1/src/auto/configure Mon Sep 10 11:39:17 2001
>> --- src/auto/configure Thu Sep 27 22:20:19 2001
>> so I go to my vim60/ directory and do
>> % patch -p2 << ../patches/6.0.003
> You want to use -p0 instead of -p2 . The patch is trying to patch,
> relative to the current directory (vim60 in your case),
> src/auto/configure. The -p2 means "strip off the first two directories
> of the file to patch" so the src/auto is being removed and it is trying
> to patch configure in the current directory. -p0 means "don't remove
> any directories" and will correctly patch src/auto/configure.
the *** line and not the --- line.