So the first step is acquiring the source code. It can be found in the same place you found the binary under "source".
Now you can start the patching:
first of all: .patch and .diff is the same. It doesn't matter. We could call them .this_is_my_patch_file too if we want to. It's just a name (ok, some app apart from patch might not like it)
on most systems:
Code: Select all
patch -p0 -i file.diff
Code: Select all
Index: src/video/dedicated_v.cpp
Code: Select all
Index: trunk/src/video/dedicated_v.cpp
-i tells what file you want to patch from, in this case the file named file.diff
There are some other apps to do this on windows. I don't know them, so somebody else have to write how to use them. Patch works in cygwin too.