That patch is for 3.3, not 3.1-stable. The important bit is in hunk #1 so you can just edit the patch and remove the other hunks, then apply that. - todd