Two options. Contact maintainer of port and offer up the patch or make a Problem Report.Who do I contact to do the fix?
Bug Reports
FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms.
www.freebsd.org
Personally I would try the maintainer first then if unresponsive after 7 days I would proceed to a PR.