Some *BSD systems (FreeBSD, TrueOS, DragonflyBSD) use older OSS v3-like API, this PR add a new backend to support it. --enable-oss configure option was extended to support OSS backend selection at configure stage:
--enable-oss or --enable-oss=v4 will select OSS v4 backend
--enable-oss=v3 will select the new OSS v3 backend
This PR also fixes OSS v4 build by adding two stubs
Some *BSD systems (FreeBSD, TrueOS, DragonflyBSD) use older OSS v3-like API, this PR add a new backend to support it.
--enable-oss
configure option was extended to support OSS backend selection at configure stage:--enable-oss
or--enable-oss=v4
will select OSS v4 backend--enable-oss=v3
will select the new OSS v3 backendThis PR also fixes OSS v4 build by adding two stubs
to the oss4_backend.c.