Apply patch for arm architecture