PR: ports/109341 (based on) Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org>
PR: ports/102224 Submitted by: Mark Evenson <mark.evenson@gmx.at>