This directory contains (in it's subdirs) the patches, which I 
have made to the standard libraries and/or packages of DJGPP 2.01.

These patches are needed when you want to rebuild RHIDE with
the same functionallity as the distributed executable.

To apply these patches, change to the corresponding directory
in the DJGPP tree and run there 'patch' for each file stored
here in this tree. Example: The RHIDE directory is 
'i:/djgpp.v2/contrib/rhide-1.2' and the DJGPP directory is 'i:/djgpp.v2'.
Now I want to apply the patch for the GDB sources.

i:
cd \djgpp.v2\gnu\gdb-4.16\gdb
patch < i:\djgpp.v2\contrib\rhide-1.2\diffs\gnu\gdb-4.16\gdb\go32targ.dif

The patches for GDB have to be applied, before you build libgdb.a
and the patches for libc.a/libdbg.a have to be applied before you
link rhide.exe or rhgdb.exe.
After applying the patches for libc.a or libdbg.a, you have to compile
the patched source file and replace the generated object file in the
library. Example: When you have applied the patch for
'src/libc/dos/lfn/_use_lfn.c', you have to type in that directory

make _use_lfn.o

and then run ar to update that object file in libc.a (make a backup
copy of libc.a before just in case there will be something wrong).

ar rs i:/djgpp.v2/lib/libc.a _use_lfn.o

