opnsense-ports/devel/electron32/files/patch-media_audio_pulse_pulse__util.cc
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

14 lines
443 B
C++

--- media/audio/pulse/pulse_util.cc.orig 2024-06-18 21:43:35 UTC
+++ media/audio/pulse/pulse_util.cc
@@ -45,7 +45,11 @@ static const base::FilePath::CharType kPulseLib[] =
#if defined(DLOPEN_PULSEAUDIO)
static const base::FilePath::CharType kPulseLib[] =
+#if BUILDFLAG(IS_BSD)
+ FILE_PATH_LITERAL("libpulse.so");
+#else
FILE_PATH_LITERAL("libpulse.so.0");
+#endif
#endif
void DestroyMainloop(pa_threaded_mainloop* mainloop) {