Mail Archives: djgpp/1998/01/05/12:15:40
On Sun, 4 Jan 1998, Robert Hoehne wrote:
> But now, after I rebuild the binutils, I got (like Ed too) an other
> problem. When I made the port, I had patch version 2.1 or so installed
> which worked ok, but with the current patch version 2.5 it will not
> work, except you give on commandline the "-p 0" switch. This might be
> a bug in patch or feature of it.
It's a feature. POSIX requires `patch' to behave so that you need to use
-p0 whenever you want it to use the exact file name, including any
leading directories, that the diff mentions. Versions of `patch' before
2.4 were non-POSIX.
> And as a last note: The next time I will try to make a port which is
> ready to compile, but this will need more work.
^^^^^^^^^^^^^^^^^^^^^^^^
Boy, do I know about that!
- Raw text -