rpms/libao/devel libao-0.8.8-bigendianfix.patch, NONE, 1.1 libao.spec, 1.28, 1.29

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Sun Jul 6 07:01:52 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/libao/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15598

Modified Files:
	libao.spec 
Added Files:
	libao-0.8.8-bigendianfix.patch 
Log Message:
* Sun Jul  6 2008 Hans de Goede <j.w.r.degoede at hhs.nl> - 0.8.8-5
- Fix pulseaudio sound output on bigendian archs (bz 454165), patch by
  Ian Chapman


libao-0.8.8-bigendianfix.patch:

--- NEW FILE libao-0.8.8-bigendianfix.patch ---
--- 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
     };


Index: libao.spec
===================================================================
RCS file: /cvs/extras/rpms/libao/devel/libao.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- libao.spec	19 Feb 2008 08:58:07 -0000	1.28
+++ libao.spec	6 Jul 2008 07:00:56 -0000	1.29
@@ -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 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 sed -i "s/-O20/$RPM_OPT_FLAGS/" configure
 sed -i "s/-ffast-math//" configure
@@ -83,6 +85,10 @@
 
 
 %changelog
+* Sun Jul  6 2008 Hans de Goede <j.w.r.degoede at hhs.nl> - 0.8.8-5
+- Fix pulseaudio sound output on bigendian archs (bz 454165), patch by
+  Ian Chapman
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.8.8-4
 - Autorebuild for GCC 4.3
 




More information about the scm-commits mailing list