apply ubuntu patches