Hi, Due to lot of gaming porting efforts these days :-), here a little diff for openal just a fix to avoid probing non existent capture handling (in the sndio backend).
Hope it s good. Kind regards.
Index: Makefile =================================================================== RCS file: /cvs/ports/audio/openal/Makefile,v retrieving revision 1.49 diff -u -p -r1.49 Makefile --- Makefile 15 Nov 2017 13:02:42 -0000 1.49 +++ Makefile 23 Dec 2017 08:44:40 -0000 @@ -10,6 +10,7 @@ DISTNAME = openal-soft-$V PKGNAME = openal-$V CATEGORIES = audio SHARED_LIBS = openal 3.0 +REVISION = 0 HOMEPAGE = http://kcat.strangesoft.net/openal.html Index: patches/patch-Alc_ALc_c =================================================================== RCS file: patches/patch-Alc_ALc_c diff -N patches/patch-Alc_ALc_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-Alc_ALc_c 23 Dec 2017 08:44:40 -0000 @@ -0,0 +1,16 @@ +$OpenBSD$ + +Index: Alc/ALc.c +--- Alc/ALc.c.orig ++++ Alc/ALc.c +@@ -1230,9 +1230,7 @@ static void ProbeDevices(al_string *list, struct Backe + LockLists(); + al_string_clear(list); + +- if(!backendinfo->getFactory) +- backendinfo->Probe(type); +- else ++ if(backendinfo->getFactory) + { + ALCbackendFactory *factory = backendinfo->getFactory(); + V(factory,probe)(type);