ports/audio/openal/patches/patch-alc_alconfig_cpp

13 lines
315 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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};