am 965f9dc4: merge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward

Merge commit '965f9dc45345486e885b59b4776f0ca5e765ec20' into gingerbread-plus-aosp

* commit '965f9dc45345486e885b59b4776f0ca5e765ec20':
  fix bug in applying patches
  remove shadowed variable declaration