Fix building with gcc 4.7
Fix applied was the same as was used for bluez.
This commit is contained in:
parent
642c4e8020
commit
2297bd099b
11
pulseaudio-gcc47.patch
Normal file
11
pulseaudio-gcc47.patch
Normal file
@ -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),
|
||||
@ -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 <bruno@wolff.to< - 1.1-7
|
||||
- Fix for building with gcc 4.7
|
||||
|
||||
* Mon Jan 23 2012 Dan Horák <dan@danny.cz> - 1.1-6
|
||||
- rebuilt for json-c-0.9-4.fc17
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user