Date: Wed, 13 Nov 2002 16:40:03 -0800 (PST) From: John Merryweather Cooper <john_m_cooper@yahoo.com> To: freebsd-ports@FreeBSD.org Subject: Re: ports/45276: libesmtp uses undefined PF_UNSPEC constant. Message-ID: <200211140040.gAE0e3iI069113@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/45276; it has been noted by GNATS. From: John Merryweather Cooper <john_m_cooper@yahoo.com> To: Mike E <kutulu@kutulu.org> Cc: "FreeBSD-gnats-submit@freebsd.org" <FreeBSD-gnats-submit@freebsd.org> Subject: Re: ports/45276: libesmtp uses undefined PF_UNSPEC constant. Date: 13 Nov 2002 16:38:53 -0800 The author has just released a new version, I'll need to check and see if this is still an issue. jmc On Wed, 2002-11-13 at 15:07, Mike E wrote: > >Number: 45276 > >Category: ports > >Synopsis: libesmtp uses undefined PF_UNSPEC constant. > >Confidential: no > >Severity: serious > >Priority: low > >Responsible: freebsd-ports > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed Nov 13 15:10:01 PST 2002 > >Closed-Date: > >Last-Modified: > >Originator: Kutulu > >Release: FreeBSD 5.0-CURRENT i386 > >Organization: > >Environment: > System: FreeBSD basement.kutulu.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 12 15:43:48 EST 2002 root@basement.kutulu.org:/usr/obj/usr/src/sys/GATEWAY i386 > > >Description: > libesmtp attempts to use PF_UNSPEC without properly ensuring that it is defined. > > The port defines it's POSIX level as 199506 (by defining __POSIX_C_SOURCE in config.h) and the X/Open compatibility level to > 500 (_XOPEN_SOURCE in config.h). However, these cause the value of __BSD_VISIBLE to remain undefined, and thus PF_UNSPEC is > not visible. (Coincidentally, defining __POSIX_C_SOURCE and _XOPEN_SOURCE in this case is redundant .. the second redefines > the first anyway). > > > >How-To-Repeat: > build /usr/ports/mail/libesmtp > > >Fix: > > I commented out the _POSIX_C_SOURCE and _XOPEN_SOURCE feature-test macros and the port successfully built. However, I'm > unsure of all the ramifications of using these feature-test macros, so I'm not sure this is the ideal permanent fix. It also > generated additional warnings about ISO C89 and 'long long' values that were not present before. > > > >Release-Note: > >Audit-Trail: > >Unformatted: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message -- John Merryweather Cooper <john_m_cooper@yahoo.com> University of Idaho To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211140040.gAE0e3iI069113>