check: 0.9.9 - include a patch to fix build errors

The code added by the patch is all brought in from the project's repository HEAD.  However, there hasn't been a stable release since 0.9.9 so the fixes have not made it out yet.  There is one typo preventing compilation, and a missing library preventing linking.  For the second, Darwin does not implement the POSIX Realtime Extensions, so the function `clock_gettime` does not exist and the linker fails.  However, this is only used by the project tests, so it a non-functional issue.