apply patches from Ubuntu package