Hi I've worked it out. I was in the wrong directory when applying the patches. Incase anyone else is interested in doing the same thing, here's my script:
# unpack the debian orig source ball tar zxf ${ORIGPATH}/source/glibc_*orig* cd glibc* # Use the Debian script to extract glibc and overlay linuxthreads /bin/bash prep.sh # Get the GLIBC version GLIBVER="$( find . -type d -name 'glibc-*' -printf "%f\n" )" # Install the debian directory zcat ${ORIGPATH}/source/glibc_*diff* | patch -p1 # The nptl patches fail because prep.sh doesn't overlay it. DPATCHES="$( grep -v '^#' debian/patches/00list )" for pf in ${DPATCHES}; do patchf=debian/patches/${pf}.dpatch if [ -s ${patchf} ]; then chmod 755 ${patchf} ${patchf} -patch ${GLIBVER} fi done -- Stuart Winter www.interlude.org.uk & www.biscuit.org.uk | Washing machines live longer with Calgon