Since version 0.9.7 of the check package the interface of _tcase_add_test has changed and takes one more parameter.
I agree this is things that should not occur !
To fix it, you can add this fourth parameter in the call with the default value 0, but in this case you will not be able to use check-0.9.6, So I think the best is to use the MACRO interface that will work even if you use check-0.9.6 or earlier.
So you can just replace line 262 of file tests/check_diff.c by:
tcase_add_test(tc,arr_tests[i].fn);
Like that it will work with any version of check package.
You will find in attachment an updated version for tests/check_diff.c from the version in libxmlpatch-0.3.3.tar
Don't hesitate to contact me if you need any more information.
Best regards, Christophe.