Version: (using KDE 4.0.0) Installed from: NetBSD pkgsrc OS: NetBSD Between RC2 and the 4.0.0 release kpty grew knowledge of the login() function, however attempting to use this on NetBSD fails as on that platform login() works with struct utmp's whereas loginx() is what you use with struct utmpx's. I'll attach a patch to add support for use and detection of loginx().
Created attachment 23142 [details] loginx() support
SVN commit 763699 by ossi: use loginx() with utmpx when available. fixes NetBSD compile. patch by Mark Davies <mark@mcs.vuw.ac.nz> BUG: 156197 M +3 -0 ConfigureChecks.cmake M +1 -0 config-pty.h.cmake M +8 -0 kpty/kpty.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=763699