For people with 10.04 LTS
I applied manually on a 10.04 LTS lucid with PHP 5.3.2-1ubuntu4.22 with Suhosin-Patch (cli) (built: Dec 12 2013 04:16:22)
The following changes manually
https://github.com/piwik/piwik/commit/0016491f098eaaf48a8cddee560c277d861fb7fb
and
https://github.com/piwik/piwik/commit/63bc4493cb215e2e65d8a3514d97dd213806a884
Now Piwik 2.0 is running on our server like before.
I applied manually on a 10.04 LTS lucid with PHP 5.3.2-1ubuntu4.22 with Suhosin-Patch (cli) (built: Dec 12 2013 04:16:22)
The following changes manually
https://github.com/piwik/piwik/commit/0016491f098eaaf48a8cddee560c277d861fb7fb
and
https://github.com/piwik/piwik/commit/63bc4493cb215e2e65d8a3514d97dd213806a884
Now Piwik 2.0 is running on our server like before.