Log Message: PR#22362. Add Darwin support. Also avoid overlapping strcpy. Should be noted that this package needs an upgrade. There is one being developed in pkgsrc-wip.