% cd patches % cp illegalpipe.patch /tmp/patch % cd /usr/local/src/mail/sendmail/sendmail-8.12.10/sendmail % patch -p < /tmp/patch