error: patch failed: stdio-common/Makefile:222 error: stdio-common/Makefile: patch does not apply hint: Use 'git am --show-current-patch=diff' to see the failed patch hint: When you have resolved this problem, run "git am --continue". hint: If you prefer to skip this patch, run "git am --skip" instead. hint: To restore the original branch and stop patching, run "git am --abort". hint: Disable this message with "git config advice.mergeConflict false" Applying: Add freopen special-case tests: thread cancellation Patch failed at 0001 Add freopen special-case tests: thread cancellation