PR: ports/160799 Submitted by: Ivan Klymenko <fidaj@ukr.net> Patch by: Rainer Hurling <rhurlin@gwdg.de>