$OpenBSD: patch-alc_alconfig_cpp,v 1.2 2021/07/25 17:33:48 sthen Exp $

Index: alc/alconfig.cpp
--- alc/alconfig.cpp.orig
+++ alc/alconfig.cpp
@@ -318,7 +318,7 @@ void ReadALConfig()
 
 void ReadALConfig()
 {
-    const char *str{"/etc/openal/alsoft.conf"};
+    const char *str{"${SYSCONFDIR}/openal/alsoft.conf"};
 
     TRACE("Loading config %s...\n", str);
     al::ifstream f{str};
