Re: kern.osreldate and EAI_NODATA deprecation

From: Max Laier <max_at_love2party.net>
Date: Wed, 31 Dec 2003 14:21:25 +0100
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
Received on Wed Dec 31 2003 - 04:21:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC