rpms/id3v2/F-8 id3v2-0.1.11-track-bad-free.patch, NONE, 1.1 id3v2.spec, 1.10, 1.11

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Jan 31 21:59:56 UTC 2008


Author: scop

Update of /cvs/pkgs/rpms/id3v2/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1606/F-8

Modified Files:
	id3v2.spec 
Added Files:
	id3v2-0.1.11-track-bad-free.patch 
Log Message:
* Thu Jan  3 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.1.11-6
- Apply sf.net patch #1252035 to fix --tracks crash (seen on PPC only).


id3v2-0.1.11-track-bad-free.patch:

--- NEW FILE id3v2-0.1.11-track-bad-free.patch ---
http://sourceforge.net/tracker/index.php?func=detail&aid=1252035&group_id=4193&atid=304193

diff -up id3v2-0.1.11/id3v2.cpp~ id3v2-0.1.11/id3v2.cpp
--- id3v2-0.1.11/id3v2.cpp~	2004-05-04 21:30:15.000000000 +0300
+++ id3v2-0.1.11/id3v2.cpp	2008-01-03 21:22:02.000000000 +0200
@@ -423,7 +423,7 @@ int main( int argc, char *argv[])
         {
           // check if there is a total track number and if we only have 
           // the track number for this file.  In this case combine them.
-          char *currentTrackNum, *newTrackNum;
+          char *currentTrackNum, *newTrackNum = NULL;
 
           if (pFrame != NULL) 
           {


Index: id3v2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/id3v2/F-8/id3v2.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- id3v2.spec	16 Aug 2007 10:14:19 -0000	1.10
+++ id3v2.spec	31 Jan 2008 21:59:16 -0000	1.11
@@ -1,6 +1,6 @@
 Name:           id3v2
 Version:        0.1.11
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Command line id3v2 tag editor
 
 Group:          Applications/Multimedia
@@ -8,6 +8,7 @@
 License:        GPLv2+
 URL:            http://id3v2.sourceforge.net/
 Source0:        http://download.sf.net/id3v2/%{name}-%{version}.tar.gz
+Patch0:         %{name}-0.1.11-track-bad-free.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  id3lib-devel
@@ -22,6 +23,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -46,6 +48,9 @@
 
 
 %changelog
+* Thu Jan  3 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.1.11-6
+- Apply sf.net patch #1252035 to fix --tracks crash (seen on PPC only).
+
 * Thu Aug 16 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.1.11-5
 - License: GPLv2+
 




More information about the fedora-extras-commits mailing list