termux-packages/packages/libpulseaudio/caps.c.patch
Tom Yan c380e354de libpulseaudio: fix autospawn
Autospawn needs to use the wrapper we made, otherwise the sles sink
module cannot be loaded.

Also patch caps.c to remove the silly warning that somehow ignores
log-level and log-target to avoid programs like cmus being ruined
when pulse is spawned.
2018-08-06 21:50:41 +02:00

14 lines
523 B
Diff

diff --git a/src/daemon/caps.c~ b/src/daemon/caps.c
index fd135c0..135d842 100644
--- a/src/daemon/caps.c~
+++ b/src/daemon/caps.c
@@ -92,8 +92,5 @@ void pa_drop_caps(void) {
#error "Don't know how to do capabilities on your system. Please send a patch."
#endif /* __linux__ */
#else /* HAVE_SYS_CAPABILITY_H */
- pa_log_warn("Normally all extra capabilities would be dropped now, but "
- "that's impossible because PulseAudio was built without "
- "capabilities support.");
#endif
}