This patches are tested with MySQL and appears to work!.

You should apply these if you are trying to compile the glibc 2.0.7-5 or 
glibc 2.0.7-6 source distribution.

These are the standard patches from RedHat, but modified to be 'uniformed' to
make it easier to apply the patches.

To apply these, simply do

(Assuming you have the glibc-2.0.7 distribution in /usr/local/src/glibc-2.0.7
and the patches in /tmp)

cd /usr/local/src
cat < /tmp/glibc-*.patch | patch

or

cd /usr/local/src/glibc-xxx

cat < /tmp/glibc-*.patch | patch -p1

Regards,
Monty

PS: This distribution also includes a fresh compiled libpthreads.so
    that fixes most bugs in the RedHat glibc 2.0.7 binary release.
    By copying this over the old one in /lib MySQL should compile fine!
    Do:  cp libpthread-0.7.so /lib ; /sbin/ldconfig
