Subject: How to apply patches in RCSDIFF format?
To: None <email@example.com>
From: Alicia da Conceicao <firstname.lastname@example.org>
Date: 10/13/1999 11:27:53
I am trying to apply a patch to support 3COM 3CCFEM556B 10/100
Ether + Modem PCMICA cards, from email@example.com in problem
report #8331, to my ix86 NetBSD 1.4.1 kernel:
Unfortunately the patch does not appear to be in the usual diff
format. (It looks like it was generated from rcsdiff.) So applying
the patch in the "/usr/src/sys/" directory using "patch < PATCHFILE"
does not work. Below is a sample of the patch format.
RCS file: /usr/src/CVSROOT/netbsd.sys/dev/ic/elink3.c,v
retrieving revision 188.8.131.52
diff -c -r184.108.40.206 elink3.c
*** elink3.c 1999/08/27 10:14:17 220.127.116.11
--- elink3.c 1999/08/31 09:06:33
*** 232,237 ****
--- 232,239 ----
void ep_mii_sync __P((struct ep_softc *));
void ep_mii_sendbits __P((struct ep_softc *, u_int32_t, int));
Is there any option to the patch program to use this type of patch?
Is there a way to convert the patch file into a format that can be
used by the patch program? (If I was to edit the patch file by hand
with vi, what changes should I make?)
Thanks in advance. Sincerely, Alicia.