pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/id3v2 Update to 0.1.12, add patch-ab to make sur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/148e0acc055c
branches:  trunk
changeset: 574802:148e0acc055c
user:      schnoebe <schnoebe%pkgsrc.org@localhost>
date:      Mon Apr 26 01:54:26 2010 +0000

description:
Update to 0.1.12, add patch-ab to make sure a random pointer is not freed.

diffstat:

 audio/id3v2/Makefile         |  11 ++++++++---
 audio/id3v2/distinfo         |  11 ++++++-----
 audio/id3v2/patches/patch-aa |  19 ++++++++++---------
 audio/id3v2/patches/patch-ab |  14 ++++++++++++++
 4 files changed, 38 insertions(+), 17 deletions(-)

diffs (100 lines):

diff -r a5426934c757 -r 148e0acc055c audio/id3v2/Makefile
--- a/audio/id3v2/Makefile      Sun Apr 25 22:01:22 2010 +0000
+++ b/audio/id3v2/Makefile      Mon Apr 26 01:54:26 2010 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:33 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2010/04/26 01:54:26 schnoebe Exp $
 
-DISTNAME=      id3v2-0.1.11
-PKGREVISION=   2
+DISTNAME=      id3v2-0.1.12
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=id3v2/}
 
@@ -9,6 +8,8 @@
 HOMEPAGE=      http://id3v2.sourceforge.net/
 COMMENT=       Command line editor for id3v2 tags
 
+LICENSE=       gnu-lgpl-v2.1
+
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
 
@@ -17,6 +18,10 @@
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
+post-configure:
+       # clean up inappropriate stuff left in the distribution archive
+       cd ${WRKSRC}; rm -f id3v2 *.o
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/id3v2 ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/id3v2.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
diff -r a5426934c757 -r 148e0acc055c audio/id3v2/distinfo
--- a/audio/id3v2/distinfo      Sun Apr 25 22:01:22 2010 +0000
+++ b/audio/id3v2/distinfo      Mon Apr 26 01:54:26 2010 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2006/10/01 12:23:39 tonio Exp $
+$NetBSD: distinfo,v 1.9 2010/04/26 01:54:26 schnoebe Exp $
 
-SHA1 (id3v2-0.1.11.tar.gz) = ca825d851ca0c6a5783af107dc6baa7aa93f0bad
-RMD160 (id3v2-0.1.11.tar.gz) = 433900ec5ccc072e5daeaf3fc25902d87bc95a01
-Size (id3v2-0.1.11.tar.gz) = 52427 bytes
-SHA1 (patch-aa) = 24369db9115ea921e5ebaa4befa66a71ebb4da19
+SHA1 (id3v2-0.1.12.tar.gz) = 8f42153b2f53098c221da2e8fe42170e727cd9ad
+RMD160 (id3v2-0.1.12.tar.gz) = 084f90bea49cc8fb93acb5f78bb55602c5358ac5
+Size (id3v2-0.1.12.tar.gz) = 121476 bytes
+SHA1 (patch-aa) = 80630ef4dacf8906c6a7e62ae9b3986478ddc391
+SHA1 (patch-ab) = f52bebadfdcfa12a44d50643439fcbea6df3de28
diff -r a5426934c757 -r 148e0acc055c audio/id3v2/patches/patch-aa
--- a/audio/id3v2/patches/patch-aa      Sun Apr 25 22:01:22 2010 +0000
+++ b/audio/id3v2/patches/patch-aa      Mon Apr 26 01:54:26 2010 +0000
@@ -1,19 +1,20 @@
-$NetBSD: patch-aa,v 1.5 2006/10/01 12:23:39 tonio Exp $
+$NetBSD: patch-aa,v 1.6 2010/04/26 01:54:27 schnoebe Exp $
 
---- Makefile.orig      2004-05-04 20:33:53.000000000 +0200
+--- Makefile.orig      2010-03-26 23:28:34.000000000 +0000
 +++ Makefile
 @@ -2,12 +2,12 @@ all: id3v2
  
- VERSION=0.1.11
+ VERSION=0.1.12
  
--PREFIX=       /usr/local
-+PREFIX?=      /usr/local
- CXXFLAGS+=    -I${PREFIX}/include/ -DVERSION="\"${VERSION}\"" #-DSORT_RUNTIME
+-PREFIX=       /opt/local
++PREFIX?=      /opt/local
+-CXXFLAGS+=    -Wall -I${PREFIX}/include/ -DVERSION="\"${VERSION}\"" #-DSORT_RUNTIME
++CXXFLAGS+=    -I${PREFIX}/include/ -DVERSION="\"${VERSION}\"" #-DSORT_RUNTIME
  LDFLAGS+=     -L${PREFIX}/lib/ 
  
  id3v2:        convert.o list.o id3v2.o genre.o
--      c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ $^
-+      c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -liconv -g -o $@ $^
+-      ${CXX} ${LDFLAGS} -pedantic -Wall -g -o $@ $^ -lz -lid3
++      ${CXX} ${LDFLAGS} -pedantic -Wall -g -o $@ $^ -lz -lid3 -liconv
  
  create_map: create_map.o
-       c++ -Wall -g -o $@ $^
+       ${CXX} -Wall -g -o $@ $^
diff -r a5426934c757 -r 148e0acc055c audio/id3v2/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/id3v2/patches/patch-ab      Mon Apr 26 01:54:26 2010 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2010/04/26 01:54:27 schnoebe Exp $
+
+--- id3v2.cpp.orig     2010-03-26 23:26:46.000000000 +0000
++++ id3v2.cpp
+@@ -474,7 +474,8 @@ int main( int argc, char *argv[])
+           myFrame->Field(ID3FN_TEXT) = frameList[ii].data;
+           myTag.AttachFrame(myFrame);
+ 
+-          free(newTrackNum);
++        if (newTrackNum != NULL)
++          free(newTrackNum);
+           break;
+         }
+         case ID3FID_USERTEXT:



Home | Main Index | Thread Index | Old Index