diff --git a/pulseaudio-gcc47.patch b/pulseaudio-gcc47.patch new file mode 100644 index 0000000..1e059ab --- /dev/null +++ b/pulseaudio-gcc47.patch @@ -0,0 +1,11 @@ +--- src/modules/bluetooth/sbc/sbc_primitives_mmx.c.orig 2012-02-28 21:32:40.167327239 -0600 ++++ src/modules/bluetooth/sbc/sbc_primitives_mmx.c 2012-02-28 21:33:01.866085039 -0600 +@@ -318,7 +318,7 @@ + "movl %k0, 4(%3)\n" + : "+r" (blk) + : "r" (&sb_sample_f[0][ch][sb]), +- "i" ((char *) &sb_sample_f[1][0][0] - ++ "r" ((char *) &sb_sample_f[1][0][0] - + (char *) &sb_sample_f[0][0][0]), + "r" (&scale_factor[ch][sb]), + "r" (&consts), diff --git a/pulseaudio.spec b/pulseaudio.spec index 411d9a4..f1687cd 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -1,7 +1,7 @@ Name: pulseaudio Summary: Improved Linux Sound Server Version: 1.1 -Release: 6%{?dist} +Release: 7%{?dist} License: LGPLv2+ Group: System Environment/Daemons Source0: http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-%{version}.tar.xz @@ -12,6 +12,8 @@ Patch0: pulseaudio-activation.patch Patch1: 0001-alsa-support-fixed-latency-range-in-alsa-modules.patch Patch2: 0002-alsa-fixed-latency-range-handling-for-udev-detect.patch Patch3: 0003-alsa-fixed_latency_range-modarg-for-module-alsa-card.patch +# Same fix as was used for bluez +Patch4: pulseaudio-gcc47.patch URL: http://pulseaudio.org/ BuildRequires: m4 BuildRequires: libtool-ltdl-devel @@ -206,6 +208,7 @@ This package contains GDM integration hooks for the PulseAudio sound server. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch3 -p0 -b .gcc47 %build %configure --disable-static --disable-rpath --with-system-user=pulse --with-system-group=pulse --with-access-group=pulse-access --disable-hal --without-fftw @@ -457,6 +460,9 @@ exit 0 %attr(0600, gdm, gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa %changelog +* Tue Feb 28 2012 Bruno Wolff III - 1.1-6 - rebuilt for json-c-0.9-4.fc17