Tremulous Forum

Community => Servers => Topic started by: [NubS] Rabbitt on April 16, 2007, 05:23:42 pm

Title: Patches
Post by: [NubS] Rabbitt on April 16, 2007, 05:23:42 pm
Ok ive seen and heard about all these patches but i cant figure out how to get them to function/operate/work.
I tryed google and come up with 310,000 things but not one explains anything useful.

Can someone help with with patching and how it works
Title: Patches
Post by: David on April 16, 2007, 05:42:28 pm
download the source, apply the patch, compile it.
There are guides around on here for the downloading and compiling.
The patching is just a standard patch.
Title: Patches
Post by: [NubS] Rabbitt on April 17, 2007, 03:33:38 am
Ok thanks David ill have to look around on here to see if i can get it to work.
Title: Patches
Post by: twilight on April 17, 2007, 04:29:57 am
patching is for developers who want to edit and recompile the source code...normal players shouldn't worry about it.
Title: Patches
Post by: sleekslacker on April 17, 2007, 04:57:59 am
and for server operators who want to tweak their server features.
Title: Patches
Post by: [NubS] Rabbitt on April 17, 2007, 05:04:23 am
Thats why im asking i wanna make sure im up to date with al the bug fixes and all.
Title: Patches
Post by: Death_First on April 29, 2007, 02:15:09 pm
i cant figure out how to apply the patchs do u just throw them in the svn code?


and on another note: Can u apply 2 or more patchs to the svn code at the same time?
Title: Patches
Post by: Lakitu7 on April 29, 2007, 03:51:08 pm
download whatever revision from SVN
download patchfile and put in the root directory of the downloaded svn tree
patch -p0 < patchfile.patch
If it fails saying "can't find file, here's the first 5 lines blah blah", change -p0 to p1. If same, try p2
If one or more "hunks" fails, then you're trying to apply it to a revision that it wasn't made for and something about the code it's looking for has changed and thus the patch isn't compatable.

Applying 2 patches at once is fine, with the caveat that if they are trying to modify a same bit of code, the second will have the "hunks" failing error and it won't work.

.patchfiles are human-readable. If something fails and you are ambitious, you can often go "apply" it manually yourself to the code.
Title: Patches
Post by: f0rqu3 on April 29, 2007, 05:09:37 pm
that is what I got from a google search
http://images.google.com/images?q=patches
Title: Patches
Post by: Death_First on April 29, 2007, 10:49:35 pm
Quote from: "f0rqu3"
that is what I got from a google search
http://images.google.com/images?q=patches

XD!!!!!!!