Apply FreeBSD-related patches from port