Patches for check_swap patch for HP-UX support [sf#623270] [#122]