[MLton] FreeBSD ports that you maintain which are currently marked broken

Jesper Louis Andersen jlouis@mongers.org
Sat, 29 Jan 2005 22:18:46 +0100

Quoting linimon@FreeBSD.org (linimon@FreeBSD.org):

> portname:           lang/mlton
> broken because:     Size mismatch
> build errors:       none.
> overview:           http://portsmon.firepipe.net/portoverview.py?category=lang&portname=mlton

I am still wondering what size mismatch means. 

Note that the current CVS sources of MLton does not build on FreeBSD
6.0-CURRENT because defining POSIX_C_SOURCE to be 200112 results in
__BSD_VISIBLE being 0, so we do not pull in the following from 

typedef unsigned char   u_char;
typedef unsigned short  u_short;
typedef unsigned int    u_int;
typedef unsigned long   u_long;

Of course this creates problems with compiling the MLton C runtime ;)

I do not have the time to provide a patch, but I've done quite a bit
of digging inside the system to find out what happens. The part of
the code that sets __BSD_VISIBLE is a define-hell inside