openbsd-ports/audio/openal/patches/patch-Alc_alcConfig_c
sthen 7a1fb3abee various fixes to the openal port from Brad;
- Use CMake options via CONFIGURE_ARGS to disable unnecessary backends
  and unwanted features which also means being able to remove some
  patching of CMakeLists.
- Fix hardcoded path in the OpenAL code.
- Fix the pkg-config file to properly list the library dependencies.
2011-06-26 09:58:08 +00:00

13 lines
389 B
Plaintext

$OpenBSD: patch-Alc_alcConfig_c,v 1.1 2011/06/26 09:58:08 sthen Exp $
--- Alc/alcConfig.c.orig Sat Jun 25 19:34:30 2011
+++ Alc/alcConfig.c Sat Jun 25 19:34:48 2011
@@ -226,7 +226,7 @@ void ReadALConfig(void)
}
}
#else
- f = fopen("/etc/openal/alsoft.conf", "r");
+ f = fopen("${SYSCONFDIR}/openal/alsoft.conf", "r");
if(f)
{
LoadConfigFromFile(f);