for i in autobuild/patches/*.patch; do
    abinfo "Applying $i ..."
    patch -p0 < $i || exit 1
done
