“Over the past year and change I’ve worked on porting quite a few projects to OS X. At first, it’s a pretty scary ordeal, but most of the issues you’ll run into are easily solved if you know how. To save yourself the trouble of figuring this out yourself, read on…” The article is located at Advogato. More porting tips at Fink’s site.
This has been one of my biggest problems with applications. Many applications are now using poll() without any way of falling back on select(). The only solution in this case (short of rewriting the application to use select() instead) is to install a wrapper library.
I just wish Apple would implement poll() soon, they’re just too worried about breaking existing 3rd party KEXTs…
use poll-emulator, at http://www.clapper.org/software/poll/
I’ve got packages in both darwinports and Fink.
It’s not an darwin-native poll, but it saves you trouble in porting anyways.