> I have only tested openal-info. Does the diff below work for you? Thanks, the diff works. The original problem with fs2open is solved and the sound is now actually working. Needs a little bit more polish, but port should be ready soon. Thanks jca@ and also David for bringing it up here!
> > > 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 28 Dec 2017 03:43:49 -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 28 Dec 2017 03:43:49 -0000 > @@ -0,0 +1,35 @@ > +$OpenBSD$ > + > +commit d1e98c36d375433cb11a7a74ce20c968491773aa > +Author: Chris Robinson <chris.k...@gmail.com> > +Date: Sat Apr 30 17:14:55 2016 -0700 > + > + Don't crash when there's no backend to probe > + > +Index: Alc/ALc.c > +--- Alc/ALc.c.orig > ++++ Alc/ALc.c > +@@ -1117,6 +1117,11 @@ static void alc_initconfig(void) > + V0(factory,init)(); > + } > + > ++ if(!PlaybackBackend.name) > ++ WARN("No playback backend available!\n"); > ++ if(!CaptureBackend.name) > ++ WARN("No capture backend available!\n"); > ++ > + if(ConfigValueStr(NULL, NULL, "excludefx", &str)) > + { > + size_t len; > +@@ -1230,9 +1235,9 @@ static void ProbeDevices(al_string *list, struct Backe > + LockLists(); > + al_string_clear(list); > + > +- if(!backendinfo->getFactory) > ++ if(backendinfo->Probe) > + backendinfo->Probe(type); > +- else > ++ else if(backendinfo->getFactory) > + { > + ALCbackendFactory *factory = backendinfo->getFactory(); > + V(factory,probe)(type); > > > > -- > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE >