You are not logged in.
Hey,
Now I'm sure this is probably a stupid question but I can't make this apply as a patch although there is every chance I'm doing it wrong. So is it a patch? Is it a script or something to use with RCS or CVS or something that might even check out the files at the correct revision for me? I'd really like to give it a try and I have half the day off tomorrow which would be perfect. If I do a standard CVS checkout or the repo I don't get the
ChangeLog 2 Dec 2005 18:42:31 -0000 1.72
lines at the top of the files so I'm guessing that maybe I'm doing that wrong? Any help with this would be very much appreciated.
TIA
Offline
patch fully supports text above the +++/--- stuff. The original intent was to allow patches to be included in plain text at the bottom of emails/newsgroup posts.
This *is*, in fact, a unified diff, so you need to add -u to the patch command to make it work.
Offline
Yes, this is a patch. Save it as a file like this: libbtctl.patch
Move to the source folder and apply it like this:
"patch -i libbtctl.patch -p0"
If the folder structure is a pain, "-p0" option can be changed to "-p1" etc to ignore 0,1, or more of folders in the path.
See "man patch" for more options.
Offline
Offline