ports/audio/openal/patches/patch-alc_alconfig_cpp

12 lines
315 B
Text

Index: alc/alconfig.cpp
--- alc/alconfig.cpp.orig
+++ alc/alconfig.cpp
@@ -364,7 +364,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};