Date: Fri, 21 May 2004 22:48:10 +0300 From: Andrey Slusar <vasallia@ukr.net> To: freebsd-ports-bugs@freebsd.org Cc: Toni Viemero <toni.viemero@iki.fi> Subject: Re: ports/66998: [PATCH] dns/pdnsd: update to 1.1.11 Message-ID: <86fz9tpnnp.fsf@santinel.home.ua> In-Reply-To: <200405211510.i4LFALWL066585@freefall.freebsd.org> (Toni Viemero's message of "Fri, 21 May 2004 08:10:21 -0700 (PDT)") References: <200405211510.i4LFALWL066585@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> The following reply was made to PR ports/66998; it has been noted by GNATS. > From: Toni Viemero <toni.viemero@iki.fi> > To: FreeBSD-gnats-submit@FreeBSD.org > Cc: ports@oven.org > Subject: Re: ports/66998: [PATCH] dns/pdnsd: update to 1.1.11 > Date: Fri, 21 May 2004 18:09:24 +0300 > Well, I was a little bit too excited after upgrading couple of Linux boxes. > Turns out this new version wasn't just a maintenance release. Lot of > internals has changed and this new version doesn't even compile out of the > box on FreeBSD. Thus making this PR bogus. > Sorry for inconvenience. > > dns_query.c:71: warning: `SIN_LEN' redefined > ipvers.h:132: warning: this is the location of the previous definition > dns_query.c: In function `p_exec_query': > dns_query.c:854: `ENONET' undeclared (first use in this function) > dns_query.c:854: (Each undeclared identifier is reported only once > dns_query.c:854: for each function it appears in.) ENONET in linux errno.h is: #define ENONET 64 /* Machine is not on the network */ In freebsd errno.h not such this define - including in dns/pdnsd/files this patch: --8<---------------cut here---------------start------------->8--- --- src/dns_query.c.old Fri May 21 22:25:42 2004 +++ src/dns_query.c Fri May 21 22:30:10 2004 @@ -851,7 +851,6 @@ case ECONNREFUSED: /* port unreachable */ case ENETDOWN: /* network down */ case EHOSTDOWN: /* host down */ - case ENONET: /* machine not on the network */ /* Mark this server as down for a period of time */ sched_server_test(PDNSD_A(st),1,0); st->needs_testing=0; --8<---------------cut here---------------end--------------->8--- --anray
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fz9tpnnp.fsf>