Date: Wed, 31 Dec 2003 14:21:25 +0100 From: Max Laier <max@love2party.net> To: Mark Huizer <freebsd+current@dohd.org>, current@freebsd.org Cc: freebsd@dohd.org Subject: Re: kern.osreldate and EAI_NODATA deprecation Message-ID: <200312311421.25383.max@love2party.net> In-Reply-To: <20031231130800.GB59239@eeyore.local.dohd.org> References: <20031231130800.GB59239@eeyore.local.dohd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@love2party.net Max Laier | ICQ #67774661 http://pf4freebsd.love2party.net/ | mlaier@EFnet #DragonFlyBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312311421.25383.max>