diff options
author | marcus <marcus@FreeBSD.org> | 2009-04-28 02:56:46 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-04-28 02:56:46 +0800 |
commit | 3fcf5a2912d0edfec7407c01b3f8576a6c7c411f (patch) | |
tree | 50197ec5bba074e73b97193135826a7b7f80f574 /audio/pulseaudio/files/extra-patch-src_daemon_main.c | |
parent | 1428fa872ed8556932726a297bf8c7c801a7acc4 (diff) | |
download | freebsd-ports-graphics-3fcf5a2912d0edfec7407c01b3f8576a6c7c411f.tar.gz freebsd-ports-graphics-3fcf5a2912d0edfec7407c01b3f8576a6c7c411f.tar.zst freebsd-ports-graphics-3fcf5a2912d0edfec7407c01b3f8576a6c7c411f.zip |
Re-add some patches as extra patches for older versions of FreeBSD to fix
a deadlock in pulseaudio.
Diffstat (limited to 'audio/pulseaudio/files/extra-patch-src_daemon_main.c')
-rw-r--r-- | audio/pulseaudio/files/extra-patch-src_daemon_main.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/pulseaudio/files/extra-patch-src_daemon_main.c b/audio/pulseaudio/files/extra-patch-src_daemon_main.c new file mode 100644 index 00000000000..8c6ae410f23 --- /dev/null +++ b/audio/pulseaudio/files/extra-patch-src_daemon_main.c @@ -0,0 +1,20 @@ +--- src/daemon/main.c.orig 2009-01-12 18:11:38.000000000 -0500 ++++ src/daemon/main.c 2009-03-07 19:56:16.000000000 -0500 +@@ -689,7 +690,7 @@ int main(int argc, char *argv[]) { + * first take the autospawn lock to make things + * synchronous. */ + +- if ((autospawn_fd = pa_autospawn_lock_init()) < 0) { ++ /*if ((autospawn_fd = pa_autospawn_lock_init()) < 0) { + pa_log("Failed to initialize autospawn lock"); + goto finish; + } +@@ -699,7 +700,7 @@ int main(int argc, char *argv[]) { + goto finish; + } + +- autospawn_locked = TRUE; ++ autospawn_locked = TRUE;*/ + } + + if (conf->daemonize) { |