Uwe Brauer writes:
patch < xsymbol.patch
patch -p0 < xsymbol.patch
Those aren't going to work.
patch -p1 < xsymbol.patch
This is the correct invocation
,----
| patch -p1 < xsymbol-patch
| patching file lisp/ChangeLog
| patching file src/ChangeLog
| patching file lisp/faces.el
| can't find file to patch at input line 64
| Perhaps you used the wrong -p or --strip option?
| The text leading up to this was:
`----
Do you have the file src/fontcolor.c? If you are using an older
version of XEmacs 21.5, it won't be there. Ben made this change
(which is a stupid one, IMO) a few months ago but after 21.5.29. The
best thing to do would be to get the Mercurial head version.
Also, you can just delete everything related to fontcolor.c from the
patch. From the line
diff -r 9624523604c5 src/fontcolor.c
to just above
diff -r 9624523604c5 src/specifier.c
(Some unintelligible code was replaced with code I consider clearer
but it's functionally equivalent, and there was some documentation
that you don't really need.)
The important stuff is in the specifier.c part of the patch, which
should apply to your older version, I hope.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta