mozilla/rust — pull request #1522 by crabtw (2012-01-14 20:17:43+00:00)
Title: Fix compilation error and segmentation fault on FreeBSD

* add lgamma functions
* match mod_entry type
* the type of state field in runtime is size_t, but the type in LLVM code is i32.
It will cause some problems because size_t is 64-bit on 64-bit platform.