Mine seemed to compile okay, I used the 'build_macos_cocoa.sh' script.
I don't run any open source package collections (fink or darwinports) I just compiled the cocoa version against XCode and libSDL framework
I don't know if you've confused it by having a X11 environment in fink, maybe?