ossaudio module needs an additional patch in order to compile it on Solaris because not all ioctls are supported (specifically SNDCTL_DSP_MAPINBUF and SNDCTL_DSP_MAPOUTBUF).
Other OpenSolaris forks are using the same patch as we do:
Oracle Solaris, OpenIndiana, OmniOS
(This is similar to recent #90211 made for NetBSD).