View | Details | Raw Unified | Return to bug 63163
Collapse All | Expand All

(-)Makefile (-2 / +6 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	mp3splt
8
PORTNAME=	mp3splt
9
PORTVERSION=	2.0
9
PORTVERSION=	2.0
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	audio
11
CATEGORIES=	audio
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 23-33 Link Here
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
24
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
25
		CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
25
		CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
26
CONFIGURE_TARGET:=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
26
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
27
27
28
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
28
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
29
29
30
MAN1=		mp3splt.1
30
MAN1=		mp3splt.1
31
PLIST_FILES=	bin/mp3splt bin/oggsplt
31
PLIST_FILES=	bin/mp3splt bin/oggsplt
32
33
pre-fetch:
34
	@${TEST} `${LS} -l ${DISTDIR}/${DISTFILES} | ${AWK} '{print $$5}'` \
35
		-eq 130025 && ${RM} ${DISTDIR}/${DISTFILES} || ${TRUE}
32
36
33
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (mp3splt-2.0-src.tar.gz) = c092e4f4c1c9f12c83998b39bfe6138a
1
MD5 (mp3splt-2.0-src.tar.gz) = 2dadcfac92dd776d7bbc3e15e28b21bd
2
SIZE (mp3splt-2.0-src.tar.gz) = 130025
2
SIZE (mp3splt-2.0-src.tar.gz) = 130041
(-)files/patch-mp3.c (-14 lines)
Lines 1-14 Link Here
1
--- mp3.c.orig	Sun Feb  1 09:28:27 2004
2
+++ mp3.c	Sun Feb  1 09:29:11 2004
3
@@ -529,9 +529,10 @@
4
 				{
5
 					while (state->bytes < begin)
6
 					{
7
+						off_t to_read;
8
 						if (feof(state->file_input))
9
 							return -1;
10
-						off_t to_read = (begin - state->bytes);
11
+						to_read = (begin - state->bytes);
12
 						if (to_read > MAD_BSIZE)
13
 							to_read = MAD_BSIZE;
14
 						if ((state->data_len = fread(state->inputBuffer, 1, to_read, state->file_input))<=0)

Return to bug 63163