diff --git a/libao-0.8.8-bigendianfix.patch b/libao-0.8.8-bigendianfix.patch new file mode 100644 index 0000000..8259e01 --- /dev/null +++ b/libao-0.8.8-bigendianfix.patch @@ -0,0 +1,11 @@ +--- libao-0.8.8/src/plugins/pulse/ao_pulse.c.orig 2007-05-24 10:19:07.000000000 +0100 ++++ libao-0.8.8/src/plugins/pulse/ao_pulse.c 2008-07-05 21:44:47.000000000 +0100 +@@ -75,7 +75,7 @@ + const char *fn; + struct pa_simple *s; + static const struct pa_sample_spec ss = { +- .format = PA_SAMPLE_S16LE, ++ .format = PA_SAMPLE_S16NE, + .rate = 44100, + .channels = 2 + }; diff --git a/libao.spec b/libao.spec index 0f8e707..5a37e7c 100644 --- a/libao.spec +++ b/libao.spec @@ -1,12 +1,13 @@ Name: libao Version: 0.8.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Cross Platform Audio Output Library Group: System Environment/Libraries License: GPLv2+ URL: http://xiph.org/ao/ Source0: http://downloads.xiph.org/releases/ao/%{name}-%{version}.tar.gz Source1: ao.req +Patch0: libao-0.8.8-bigendianfix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: esound-devel >= 0.2.8 BuildRequires: arts-devel @@ -35,6 +36,7 @@ developing applications that use %{name}. %prep %setup -q +%patch0 -p1 sed -i "s/-O20/$RPM_OPT_FLAGS/" configure sed -i "s/-ffast-math//" configure @@ -83,6 +85,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jul 6 2008 Hans de Goede - 0.8.8-5 +- Fix pulseaudio sound output on bigendian archs (bz 454165), patch by + Ian Chapman + * Tue Feb 19 2008 Fedora Release Engineering - 0.8.8-4 - Autorebuild for GCC 4.3