curl -RO -C - http://ring.atr.jp/archives/graphics/ImageMagick/delegates/tiff-3.8.2.tar.gz curl -RO -C - http://ftp.de.debian.org/debian/pool/main/t/tiff/tiff_3.8.2-7.diff.gz tar xvzf tiff-3.8.2.tar.gz (cd tiff-3.8.2 && gzcat ../tiff_3.8.2-7.diff.gz | patch -p1 for p in debian/patches/*; do case "$p" in */soname.patch);; *) patch -p1 < "$p";; esac done )