How To Use Patch Files
ICU may distribute small change files called 'patch' files. Patch is a
standard format which describes the difference between two files.
Getting Patch
-
Unix-like systems
Many UNIX systems already have patch installed. If you experience
problems with your vendors' patch program, look for a distribution of
the GNU patch program for your platform. The GNU-patch homepage is http://www.gnu.org/software/patch/
-
Win32
A port of GNU-Patch is available from a number of places, here are a
few:
Using Patch
- Download the patch file as a text file
- Place the patch file in the 'icu' directory (at the same level as
'source')
- Run the command: patch -p0 < patchfile.txt
- If you are using a GNU patch, there is an option '--dry-run' which
can be used to test whether a patch will work or not, without actually
applying it.
|