kern.osreldate and EAI_NODATA deprecation
Max Laier
max at love2party.net
Wed Dec 31 05:21:29 PST 2003
On Wednesday 31 December 2003 14:08, Mark Huizer wrote:
> Hi,
> I'm trying to upgrade the port for kaffe-devel, but I run into a problem
> related to the changes in netdb.h on October 24th. (EAI_NODATA is
> deprecated and is now an alias for EAI_NONAME).
> I can solve this with an extra patch if osreldate>someversion, but I
> don't know how to find what someversion should be.
> Was it changed because of that commit, or where can I find the nearest
> osreldate change?
__FreeBSD_version is defined in sys/sys/param.h. The closest for your case is:
501112 from October 16th.
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/param.h
I'd rather suggest using an unconditional patch which introduces #ifdef
EAI_NODATA where required. That is future save (as the comment notes that
EAI_NODATA will go forever on Apr 23th).
Hope that helps.
--
Best regards, | max at love2party.net
Max Laier | ICQ #67774661
http://pf4freebsd.love2party.net/ | mlaier at EFnet #DragonFlyBSD
More information about the freebsd-current
mailing list