Can we make gendiff use -p as well as -u? It would include some additional information about where in the original file the patch is being made which will help tons when updating patches made with gendiff (because of a rebase and needing to remerge the patch). While it's touted as including the "C function" it doesn't hurt to use on other types of files.
gendiff already uses -p, at least in rpm-4.4.9: ... : ${DIFF:=diff -p} ... UPSTREAM
*** This bug has been marked as a duplicate of 146981 ***