Mysql *.diff files fixed in order to be applied well.
The new versions were set in config.yaml and patch mysql-community-server-5.1.31-shebang.patch was removed because it's no longer needed.
The broken link was fixed