Arduino-ide-1.6.0 + due on the Raspberry Pi

I tried this and all went well up to the point of running the patch. When I run the patch I get the following error:

sudo patch -p1 < Raspbian.Arduino.arm.build.1.6.0.patch

patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.

I tried looking at the patch file with nano but I have no idea what I am looking at. My objective is to install Arduino 1.6 on a Raspberry Pi 2 so I can use it to program an Arduino Due.