+++ /dev/null
-Prevent a segfault on alpha and any other arch that doesn't always get
-zero-initialized automatics. Frankly the code in this segment looks
-pretty broken to me, but I'm just fixing the segfault...
-
-07 Feb 2004 agriffis
-
---- id3v2.cpp 2004-05-04 20:30:15.000000000 +0200
-+++ id3v2.cpp.alpha 2004-08-29 16:13:08.848513320 +0200
-@@ -423,7 +423,7 @@
- {
- // 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)
- {
+++ /dev/null
-Index: id3v2-0.1.11/Makefile
-===================================================================
---- id3v2-0.1.11.orig/Makefile
-+++ id3v2-0.1.11/Makefile
-@@ -3,14 +3,14 @@ all: id3v2
- VERSION=0.1.11
-
- PREFIX= /usr/local
--CXXFLAGS+= -I${PREFIX}/include/ -DVERSION="\"${VERSION}\"" #-DSORT_RUNTIME
--LDFLAGS+= -L${PREFIX}/lib/
-+CXXFLAGS+= -I${PREFIX}/include/ -DVERSION="\"${VERSION}\"" $(OPT_CXXFLAGS) #-DSORT_RUNTIME
-+LDFLAGS+= -L${PREFIX}/lib/ $(OPT_LDFLAGS)
-
- id3v2: convert.o list.o id3v2.o genre.o
-- c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ $^
-+ $(CXX) $(LDFLAGS) -pedantic -Wall -o $@ $^ -lz -lid3
-
- create_map: create_map.o
-- c++ -Wall -g -o $@ $^
-+ $(CXX) $(LDFLAGS) -o $@ $^
-
- install: all
- install -c -s id3v2 ${PREFIX}/bin/id3v2