PDA

View Full Version : patching


CHowell2005
08-16-2004, 12:19 PM
how do i use these .diff files to patch my source....i am eager to use FatherNitwit new fixes

cavedude
08-16-2004, 12:46 PM
If you use Linux its no problem, however under Windows I could never quite figure out how to use them properly. What I do is open the .diff with wordpad and manually make the changes. Basically, you'll see lines of code that should already be there on either side of his changes. His changes will have a + or - in front of it. Just copy and paste any line with +, and insert them inbetween the proper lines of code and remember to remove the +s. Any lines of code with - before it means those lines get removed... Simple as that.

CHowell2005
08-16-2004, 01:11 PM
simple enough....thanks

fathernitwit
08-16-2004, 01:14 PM
gotta be on unix or in cygwin under windows...
change to the root directory of the eqemu code, or the zone directory if that is what the file is relative to.

run:
patch -p0 <patch_file_name

they prolly have a windows patch program too.. but im too lazy to look for one.