Patch.cpp uses off64_t, fseeko64 and ftello64 to ensure that it can open files larger than 4 GB in size. In linux, off_t is 32 bits, necessitating the need for off64_t, but off_t has been 64-bit in BSD for years, so it does not have off64_t. Since OS X is based on BSD, it also does not have off64_t, and Patch.cpp fails to compile (as of revision 800, and possibly earlier revisions).
Â
Attached is a patch to correct this problem for OS X and BSD systems.