.git/rebase-apply/patch:14: trailing whitespace. #define DEFINE_SEARCH_FUNCTION_PART_1(T) .git/rebase-apply/patch:16: trailing whitespace. __extern_inline T * .git/rebase-apply/patch:18: trailing whitespace. SEARCH_FUNCTION_TOKENIZE(__bsearch_,T) (T __key, const T *__base, error: corrupt patch at line 19 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 set advice.mergeConflict false" Applying: qsort and bsearch variants for built-in types Patch failed at 0001 qsort and bsearch variants for built-in types