This I didn’t even bother to notice – So bit of a noob error.

If you check the WhatsNewInLeopard page over at macosforge – you can see they already built in the patch from the Joyent guys.

I should really have looked before embarking on doing the patch myself.

However – gave me a good insight into how to do it :)

I also did a quick check and noticed that Python also has it all compiled in too – shame the entry/exit names aren’t the same as the one on Python on Solaris though. They also haven’t included the PHP module that exists (and I have made work on OSX) so you can still grab that on this site.