Apply any patches after unpacking the src archive with the command: gzip -dc teTeX-src-0.3.3-patch-NNN.gz | patch -p0 -s