failed to apply patch: checking file Makefile patch: **** unexpected end of file in patch