Upstreamed the SNDIO implementation patch that was only in the port for some reason.
Created attachment 199491 [details]
Created attachment 199492 [details]
Created attachment 199493 [details]
I can confirm that Sndio appears to still be functional after this
change. audio/qsynth works fine with this update too, but please
be aware that this update breaks at least audio/lmms (see
bug #233462). I have not tested other consumers.
(In reply to Tobias Kortkamp from comment #4)
Thank you, Tobias, for checking dependencies.
There is one unexpected problem which I didn't realize existed: fluid_sndio.c has a custom license. FluidSynth needs it to be changed to LGPL in order for this code to be adopted. I contacted Jacob Meuser asking for change of license, but there is no guarantee that he will answer. If there will be no answer, we will have to keep the sndio in the port. It didn't occur to me to check the license when I submitted the patch to the FluidSynth upstream.
Created attachment 199520 [details]
* Upstream the remaining FreeBSD patches
* Remove the OSS patch that doesn't seem to matter any more