patch -p0 < ~codyzapp/libpng.patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- src/mngutil.c.backup 2006-07-17 09:33:45.000000000 +0800 |+++ src/mngutil.c 2006-07-17 09:39:15.000000000 +0800 -------------------------- File to patch: