Checking patch io/Makefile... error: while searching for: getcwd \ getdirname \ getwd \ isatty \ isatty_nostatus \ lchmod \ lchown \ link \ error: patch failed: io/Makefile:91 error: io/Makefile: patch does not apply Checking patch io/Versions... error: while searching for: # g* get_current_dir_name; getcwd; getwd; # i* isatty; # l* lchown; link; lockf; lseek; error: patch failed: io/Versions:26 error: io/Versions: patch does not apply Checking patch termios/Makefile... error: while searching for: cfmakeraw \ cfsetbaud \ cfsetspeed \ speed \ tcdrain \ tcflow \ error: patch failed: termios/Makefile:36 error: termios/Makefile: patch does not apply Checking patch termios/Versions... error: while searching for: # c* cfgetispeed; cfgetospeed; cfmakeraw; cfsetispeed; cfsetospeed; cfsetspeed; # t* tcdrain; tcflow; tcflush; tcgetattr; tcgetpgrp; tcsendbreak; tcsetattr; tcsetpgrp; error: patch failed: termios/Versions:3 error: termios/Versions: patch does not apply Checking patch io/isatty.c => termios/isatty.c... error: io/isatty.c: No such file or directory Checking patch io/isatty_nostatus.c => termios/isatty_nostatus.c... error: io/isatty_nostatus.c: No such file or directory