rpms/cdparanoia/devel cdparanoia-10.2-endian.patch, NONE, 1.1 cdparanoia.spec, 1.36, 1.37

Adam Jackson ajax at fedoraproject.org
Tue Feb 10 19:28:58 UTC 2009


Author: ajax

Update of /cvs/pkgs/rpms/cdparanoia/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5525

Modified Files:
	cdparanoia.spec 
Added Files:
	cdparanoia-10.2-endian.patch 
Log Message:
* Tue Feb 10 2009 Adam Jackson <ajax at redhat.com> 10.2-3
- cdparanoia-10.2-endian.patch: Backport a crash fix for host/drive
  endianness mismatch. (#466659)


cdparanoia-10.2-endian.patch:

--- NEW FILE cdparanoia-10.2-endian.patch ---
diff -up cdparanoia-III-10.2/interface/interface.c.jx cdparanoia-III-10.2/interface/interface.c
--- cdparanoia-III-10.2/interface/interface.c.jx	2009-02-10 14:25:02.000000000 -0500
+++ cdparanoia-III-10.2/interface/interface.c	2009-02-10 14:25:49.000000000 -0500
@@ -115,7 +115,7 @@ long cdda_read_timed(cdrom_drive *d, voi
 
       if(sectors>0){
 	/* byteswap? */
-	if(d->bigendianp==-1) /* not determined yet */
+	if(buffer && d->bigendianp==-1) /* not determined yet */
 	  d->bigendianp=data_bigendianp(d);
 	
 	if(d->bigendianp!=bigendianp()){


Index: cdparanoia.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cdparanoia/devel/cdparanoia.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- cdparanoia.spec	30 Sep 2008 13:21:09 -0000	1.36
+++ cdparanoia.spec	10 Feb 2009 19:28:27 -0000	1.37
@@ -1,8 +1,6 @@
-%define ver	10
-
 Name: cdparanoia
 Version: 10.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 # the app is GPLv2, everything else is LGPLv2
 License: GPLv2 and LGPLv2
 Group: Applications/Multimedia
@@ -11,6 +9,8 @@
 # https://trac.xiph.org/changeset/15338
 # https://bugzilla.redhat.com/show_bug.cgi?id=463009
 Patch0: cdparanoia-10.2-#463009.patch
+# #466659
+Patch1: cdparanoia-10.2-endian.patch
 Url: http://www.xiph.org/paranoia/index.html
 BuildRoot: %{_tmppath}/cdparanoia-%{version}-root
 Requires: cdparanoia-libs = %{version}-%{release}
@@ -49,6 +49,7 @@
 %prep
 %setup -q -n %{name}-III-%{version}
 %patch0 -p3 -b .#463009
+%patch1 -p1 -b .endian
 
 %build
 rm -rf $RPM_BUILD_ROOT
@@ -107,6 +108,10 @@
 %{_libdir}/*.a
 
 %changelog
+* Tue Feb 10 2009 Adam Jackson <ajax at redhat.com> 10.2-3
+- cdparanoia-10.2-endian.patch: Backport a crash fix for host/drive
+  endianness mismatch. (#466659)
+
 * Tue Sep 30 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 10.2-2
 - fix cdda_interface.h C++ incompatibility (patch from upstream) (#463009)
 




More information about the fedora-extras-commits mailing list