Created attachment 174983 [details]
This adds an option SNDIO which enables support for both audio output and MIDI input over audio/sndio to Fluidsynth.
Unfortunately Fluidsynth does not have upstream support for sndio, so the patch is relatively large. If this is a problem I can create a separate port instead.
This is mostly sourced from the OpenBSD ports tree. The OpenBSD port uses autoconf while the FreeBSD port has opted for cmake, so I had to add the sndio sources to the cmake build files instead.
portlint ok, Poudriere build on FreeBSD 10.3/amd64 ok
fails to build on 12a, 11a with:
checking for gperf... no
configure: error: You need to install gperf <https://www.gnu.org/software/gperf/> before building.
===> Script "configure" failed unexpectedly.
Please report the problem to email@example.com [maintainer] and attach the
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Sorry, wrong PR for comment #2.
A commit references this bug:
Date: Sat Dec 17 13:41:33 UTC 2016
New revision: 428763
Add SNDIO support and non-default OPTION
Submitted by: firstname.lastname@example.org