ports/133131: [PATCH] audio/mp3splt: update to 2.2.3, take maintainership
Anton Yuzhaninov
citrin at citrin.ru
Fri Mar 27 17:20:03 UTC 2009
>Number: 133131
>Category: ports
>Synopsis: [PATCH] audio/mp3splt: update to 2.2.3, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 27 17:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Anton Yuzhaninov
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD citrin.park.rambler.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Mar 18 13:41:31 MSK 2009
>Description:
- Update to 2.2.3
- Take maintainership
Removed file(s):
- files/patch-mp3splt.c
- files/patch-splt.h
Port maintainer (fk at fabiankeil.de) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- mp3splt-2.2.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/mp3splt/Makefile /home/citrin/work/mp3splt/Makefile
--- /usr/ports/audio/mp3splt/Makefile 2008-08-21 10:16:16.000000000 +0400
+++ /home/citrin/work/mp3splt/Makefile 2009-03-27 19:55:35.000000000 +0300
@@ -6,36 +6,28 @@
#
PORTNAME= mp3splt
-PORTVERSION= 2.1c
-PORTREVISION= 3
+PORTVERSION= 2.2.3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-MAINTAINER= fk at fabiankeil.de
+MAINTAINER= citrin at citrin.ru
COMMENT= Utility to split mp3 and ogg files (via CUE sheets)
-OPTIONS= VORBIS "Ogg Vorbis support" On
+LIB_DEPENDS= mp3splt:${PORTSDIR}/audio/libmp3splt
-.include <bsd.port.pre.mk>
-
-LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad
+USE_AUTOTOOLS= libltdl
-.if !defined(WITHOUT_VORBIS)
-LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \
- ogg.5:${PORTSDIR}/audio/libogg
-.else
-CONFIGURE_ARGS+=--disable-ogg
-.endif
+.include <bsd.port.pre.mk>
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
- CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
MAN1= mp3splt.1
PLIST_FILES= bin/mp3splt bin/oggsplt
+post-install:
+ @${LN} -fsv ${PREFIX}/bin/mp3splt ${PREFIX}/bin/oggsplt
+
.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/audio/mp3splt/distinfo /home/citrin/work/mp3splt/distinfo
--- /usr/ports/audio/mp3splt/distinfo 2006-01-22 11:12:53.000000000 +0300
+++ /home/citrin/work/mp3splt/distinfo 2009-03-27 01:40:55.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (mp3splt-2.1c-src.tar.gz) = b355835e4d57b8b921a14a6485244c87
-SHA256 (mp3splt-2.1c-src.tar.gz) = 6f325194345b64ef132defa9ab821352ddae197459357560b2cc1a459c22a9ec
-SIZE (mp3splt-2.1c-src.tar.gz) = 131810
+MD5 (mp3splt-2.2.3.tar.gz) = aa67e24931c62d2f09be13303fbf410e
+SHA256 (mp3splt-2.2.3.tar.gz) = aae0abb51f537224135204de2dea516a2293a9385f58c7167c483df28a717b04
+SIZE (mp3splt-2.2.3.tar.gz) = 135298
diff -ruN --exclude=CVS /usr/ports/audio/mp3splt/files/patch-mp3splt.c /home/citrin/work/mp3splt/files/patch-mp3splt.c
--- /usr/ports/audio/mp3splt/files/patch-mp3splt.c 2008-12-25 11:45:42.000000000 +0300
+++ /home/citrin/work/mp3splt/files/patch-mp3splt.c 1970-01-01 03:00:00.000000000 +0300
@@ -1,16 +0,0 @@
---- mp3splt.c.orig 2008-06-25 00:19:32.000000000 -0400
-+++ mp3splt.c 2008-06-25 00:20:37.000000000 -0400
-@@ -114,6 +114,13 @@
- if (state->mstate) {
- fclose(state->mstate->file_input);
- mp3_state_free(state->mstate);
-+ /*
-+ * Explicitly setting mstate to NULL
-+ * prevents encoding misdetection (resulting
-+ * in a crash) if an mp3 file is followed by
-+ * a vorbis file.
-+ */
-+ state->mstate = NULL;
- }
- #ifndef NO_OGG
- else if (state->ostate) { // If file has been opened with ov_open we should close it using ov_clear()
diff -ruN --exclude=CVS /usr/ports/audio/mp3splt/files/patch-splt.h /home/citrin/work/mp3splt/files/patch-splt.h
--- /usr/ports/audio/mp3splt/files/patch-splt.h 2008-12-25 11:45:42.000000000 +0300
+++ /home/citrin/work/mp3splt/files/patch-splt.h 1970-01-01 03:00:00.000000000 +0300
@@ -1,11 +0,0 @@
---- splt.h.orig Fri Dec 15 19:27:18 2006
-+++ splt.h Fri Dec 15 19:27:40 2006
-@@ -93,7 +93,7 @@
-
- char *zero_pad_float (float f, char *out);
-
--int parse_outformat(char *s, char format[][], int cddboption);
-+int parse_outformat(char *s, char format[OUTNUM][MAXOLEN], int cddboption);
-
- unsigned char *cleanstring (unsigned char *s);
-
--- mp3splt-2.2.3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list