Subject: Re: CVS commit: pkgsrc/lang/swi-prolog-lite
To: Joerg Sonnenberger <joerg@britannica.bec.de>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-changes
Date: 10/13/2007 16:03:42
Joerg Sonnenberger wrote:
> On Sat, Oct 13, 2007 at 07:54:32AM +0000, Roland Illig wrote:
> 
>>Module Name:	pkgsrc
>>Committed By:	rillig
>>Date:		Sat Oct 13 07:54:32 UTC 2007
>>
>>Modified Files:
>>	pkgsrc/lang/swi-prolog-lite: distinfo
>>Added Files:
>>	pkgsrc/lang/swi-prolog-lite/patches: patch-al patch-am patch-an
>>
>>Log Message:
>>Added three patches that prevent SWI Prolog from defining "bool" as a
>>struct tag, since this conflicts with <stdbool.h>. Needed on
>>at least NetBSD-4.99.30.
> 
> 
> Was that before or after the dependency cleanup in the system headers
> that de-exposed stdbool.h? If it is the former, I don't think we should
> care.

<sys/vadvise.h> still doesn't include <sys/cdefs.h>, so I think even 
_now_ must be before the dependency cleanup. :-/

And even if NetBSD doesn't include <stdbool.h>, other operating systems 
may. Or is there a similar rule for POSIX headers like for ISO C99 
headers for preventing namespace pollution?

Roland