gettext is incompatible with our implementation due to an optimization. Import a patch from FreeBSD Current to resolve this issue