Date: Sat, 21 Feb 2004 11:19:17 +0100 (CET) From: Ulrich Spoerlein <q@uni.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63163: [MAINTAINER] audio/mp3splt: Re-rolled distfile Message-ID: <200402211019.i1LAJHA6010313@coyote.q.local> Resent-Message-ID: <200402211020.i1LAKKxK053555@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63163 >Category: ports >Synopsis: [MAINTAINER] audio/mp3splt: Re-rolled distfile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Feb 21 02:20:10 PST 2004 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD coyote.q.local 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Nov 29 17:17:14 CET 2003 >Description: The author has decided to include the patch and rerolled the distfile under the same name (although it's labeled version 2.0c on the website). files/patch-mp3.c needs to be deleted. I decided to delete the old distfile in the pre-fetch target. I hope this is acceptable. Should I use the old checksum instead of the old size to determine if it's the old distfile? http://bento.freebsd.org/errorlogs/sparc64-5-latest/mp3splt-2.0_1.log >How-To-Repeat: >Fix: --- mp3splt-2.0_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/mp3splt/Makefile,v retrieving revision 1.6 diff -u -u -r1.6 Makefile --- Makefile 4 Feb 2004 05:18:34 -0000 1.6 +++ Makefile 21 Feb 2004 10:14:25 -0000 @@ -7,7 +7,7 @@ PORTNAME= mp3splt PORTVERSION= 2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -23,11 +23,15 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" -CONFIGURE_TARGET:= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAN1= mp3splt.1 PLIST_FILES= bin/mp3splt bin/oggsplt + +pre-fetch: + @${TEST} `${LS} -l ${DISTDIR}/${DISTFILES} | ${AWK} '{print $$5}'` \ + -eq 130025 && ${RM} ${DISTDIR}/${DISTFILES} || ${TRUE} .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/audio/mp3splt/distinfo,v retrieving revision 1.3 diff -u -u -r1.3 distinfo --- distinfo 1 Feb 2004 11:53:37 -0000 1.3 +++ distinfo 21 Feb 2004 10:14:25 -0000 @@ -1,2 +1,2 @@ -MD5 (mp3splt-2.0-src.tar.gz) = c092e4f4c1c9f12c83998b39bfe6138a -SIZE (mp3splt-2.0-src.tar.gz) = 130025 +MD5 (mp3splt-2.0-src.tar.gz) = 2dadcfac92dd776d7bbc3e15e28b21bd +SIZE (mp3splt-2.0-src.tar.gz) = 130041 Index: files/patch-mp3.c =================================================================== RCS file: /home/ncvs/ports/audio/mp3splt/files/patch-mp3.c,v retrieving revision 1.1 diff -u -u -r1.1 patch-mp3.c --- files/patch-mp3.c 1 Feb 2004 14:30:48 -0000 1.1 +++ files/patch-mp3.c 21 Feb 2004 10:14:25 -0000 @@ -1,14 +0,0 @@ ---- mp3.c.orig Sun Feb 1 09:28:27 2004 -+++ mp3.c Sun Feb 1 09:29:11 2004 -@@ -529,9 +529,10 @@ - { - while (state->bytes < begin) - { -+ off_t to_read; - if (feof(state->file_input)) - return -1; -- off_t to_read = (begin - state->bytes); -+ to_read = (begin - state->bytes); - if (to_read > MAD_BSIZE) - to_read = MAD_BSIZE; - if ((state->data_len = fread(state->inputBuffer, 1, to_read, state->file_input))<=0) --- mp3splt-2.0_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402211019.i1LAJHA6010313>