Martin Buchholz <martin(a)xemacs.org> writes:
I tried to apply Daniel Pittman's patch created by `cvs diff'
workspace using `patch -d /my/workspace'. However, it only patched
the files in the root directory, like configure.in. Files in the
lwlib/ directory couldn't be found by patch, even though the headers
for those files look like:
RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/Attic/xlwradio.h,v
retrieving revision 188.8.131.52
diff -u -r184.108.40.206 xlwradio.h
--- xlwradio.h 1999/07/30 09:13:56 220.127.116.11
+++ xlwradio.h 1999/12/16 09:34:00
The documentation for `patch' indicates that it should look at the
Index: line when patching. So why couldn't it find the file to
More generally, what is the procedure for applying patches generated
by `cvs diff'?
POSIXLY_CORRECT=yes patch -d ...
I think that works for RCS/CVS-style diffs. It used to work out of
the box before the FSF people fucked up `patch'. Version 2.1 worked
just fine. :-(