Either use "diff -c file1 file2 > patchfile" or "diff -u file1 file2 > patchfile." The first form creates a context diff, and the second creates something called a unified diff. Either should work.