OK. Please test the patch and let us know if it compiles on freebsd.
It does not compile, better should be: --- src/init.c +++ src/init.c @@ -770,7 +770,9 @@ tty.c_cc[VEOF] = CEOF; tty.c_cc[VTIME] = 0; tty.c_cc[VMIN] = 1; +#ifdef VSWTC tty.c_cc[VSWTC] = _POSIX_VDISABLE; +#endif tty.c_cc[VSTART] = CSTART; tty.c_cc[VSTOP] = CSTOP; tty.c_cc[VSUSP] = CSUSP; Please also add missing ";" in 63_init_keep_utf8_ttyflag.patch @@ -784,9 +786,11 @@ /* * Set pre and post processing */ - tty.c_iflag = IGNPAR|ICRNL|IXON|IXANY; + tty.c_iflag = IGNPAR|ICRNL|IXON|IXANY #ifdef IUTF8 /* Not defined on FreeBSD */ - tty.c_iflag |= IUTF8; + | (tty.c_iflag & IUTF8); +#else + ; #endif /* IUTF8 */ tty.c_oflag = OPOST|ONLCR; tty.c_lflag = ISIG|ICANON|ECHO|ECHOCTL|ECHOPRT|ECHOKE; -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org