commit pulseaudio for openSUSE:Factory
Hello community, here is the log from the commit of package pulseaudio for openSUSE:Factory checked in at Tue Jan 25 10:19:12 CET 2011. -------- --- pulseaudio/pulseaudio.changes 2010-11-26 10:31:48.000000000 +0100 +++ /mounts/work_src_done/STABLE/pulseaudio/pulseaudio.changes 2011-01-22 02:19:00.000000000 +0100 @@ -1,0 +2,6 @@ +Sat Jan 22 01:05:20 UTC 2011 - sreeves@novell.com + +- Add bnc666350-fix-incorrect-check-of-return-value.patch +- Fix ownership of /var/lib/gdm for bnc#638052 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- bnc666350-fix-incorrect-check-of-return-value.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pulseaudio.spec ++++++ --- /var/tmp/diff_new_pack.Z4p8Ap/_old 2011-01-25 10:18:25.000000000 +0100 +++ /var/tmp/diff_new_pack.Z4p8Ap/_new 2011-01-25 10:18:25.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package pulseaudio (Version 0.9.22) +# spec file for package pulseaudio # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: pulseaudio Summary: A Networked Sound Server Version: 0.9.22 -Release: 1 +Release: 2 License: GPLv2+ ; LGPLv2.1+ Group: System/Sound Daemons Source: %{name}-%{version}.tar.bz2 @@ -30,6 +30,8 @@ Source2: setup-pulseaudio Source99: baselibs.conf Patch0: disabled-start.diff +# PATCH-FIX-UPSTREAM bnc666350-fix-incorrect-check-of-return-value.patch sreeves@novell.com -- fix to correctly report realtime status +Patch1: bnc666350-fix-incorrect-check-of-return-value.patch Url: http://pulseaudio.org BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: alsa-devel @@ -243,6 +245,7 @@ %prep %setup -q -T -b0 %patch0 +%patch1 -p1 %build autoreconf @@ -495,7 +498,7 @@ %files gdm-hooks %defattr(-,root,root) -%dir %{_localstatedir}/lib/gdm +%attr(0750, gdm, gdm) %dir %{_localstatedir}/lib/gdm %attr(0700, gdm, gdm) %dir %{_localstatedir}/lib/gdm/.pulse %attr(0600, gdm, gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa ++++++ bnc666350-fix-incorrect-check-of-return-value.patch ++++++
From 7475a180ff99f08db8e79be8841ef2ef322806eb Mon Sep 17 00:00:00 2001 From: Scott Reeves <sreeves@novell.com> Date: Thu, 20 Jan 2011 16:41:21 -0700 Subject: [PATCH] fix incorrect check of return value
--- src/pulsecore/core-util.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index a642553..b662a7e 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -680,7 +680,7 @@ int pa_make_realtime(int rtprio) { } for (p = rtprio-1; p >= 1; p--) - if (set_scheduler(p)) { + if (set_scheduler(p) >= 0) { pa_log_info("Successfully enabled SCHED_RR scheduling for thread, with priority %i, which is lower than the requested %i.", p, rtprio); return 0; } @@ -750,7 +750,7 @@ int pa_raise_priority(int nice_level) { } for (n = nice_level+1; n < 0; n++) - if (set_nice(n) > 0) { + if (set_nice(n) >= 0) { pa_log_info("Successfully acquired nice level %i, which is lower than the requested %i.", n, nice_level); return 0; } -- 1.6.0.2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de