autostart.patch: fix stdout/stderr redirection

This commit is contained in:
Rex Dieter 2015-07-06 12:50:47 -05:00
parent 43cf317106
commit 0e8555eba1
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@ diff -up pulseaudio-6.0/src/daemon/start-pulseaudio-x11.in.autostart pulseaudio-
set -e
+# probe to test if autospawn works, else resort to starting manually
+@PACTL_BINARY@ info 2>&1 > /dev/null || @PA_BINARY@ --start "$@"
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
+
if [ x"$DISPLAY" != x ] ; then

View File

@ -19,7 +19,7 @@
Name: pulseaudio
Summary: Improved Linux Sound Server
Version: %{pa_major}%{?pa_minor:.%{pa_minor}}
Release: 7%{?snap:.%{snap}git%{shortcommit}}%{?dist}
Release: 8%{?snap:.%{snap}git%{shortcommit}}%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PulseAudio
%if 0%{?gitrel}
@ -572,6 +572,9 @@ exit 0
%changelog
* Mon Jul 06 2015 Rex Dieter <rdieter@fedoraproject.org> - 6.0-8
- autostart.patch: fix stdout/stderr redirection
* Mon Jul 06 2015 Rex Dieter <rdieter@fedoraproject.org> - 6.0-7
- fix resampler-related build dependencies (libsamplerate/speex) (#1239208)