This is the patch which has been commited to cvs of lineakd to fix
problems described in pr=ports/77479. The fix offered there seem
to miss a line that has been changed in cvs. So I think cvs-version (which
has been tested from Linux-folks) should be complete.
Pav already got the other one