Currently the port requires gcc33 to build, apparently because of a double
occurrence of the nan() function call. This function is a GNU extension
(conforming to C99) which came builtin with gcc33 and is otherwise not
available on FreeBSD. However, according to the GNU documentation, calling
`nan("chars")` is equivalent to `strtod("NAN(chars)", NULL)`. The latter
form is acceptable for FreeBSD and the patch below thus simply provides a
substitution of equivalent expressions.
Please note that the patch would add the following file:
I'll take it.
Committed, with minor changes. Thanks!