This patch makes konsole work on kfreebsd. Without it, konsole doesn't display anything in the terminal area. Inspired from http://lists.kde.org/?l=kde-commits&m=122713720905453&w=2 --- a/kpty/kptydevice.cpp +++ b/kpty/kptydevice.cpp @@ -44,7 +44,7 @@ # include #endif -#if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC) +#if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC) || defined(__FreeBSD_kernel__) // "the other end's output queue size" - kinda braindead, huh? # define PTY_BYTES_AVAILABLE TIOCOUTQ #elif defined(TIOCINQ)