for i in autobuild/patches/*; do
    patch -Np1 -i $i
done

cp -v Makeconfig{,.orig}
sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig
