1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- Fix build on amd64

PR:		127223
Submitted by:	"Andrius Mork&#363;nas" <hinokind@gmail.com>
Approved by:	portmgr (erwin)
This commit is contained in:
Martin Wilke 2008-09-12 08:48:58 +00:00
parent d3560e2560
commit ee80b88a36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220360
2 changed files with 12 additions and 1 deletions

View File

@ -28,7 +28,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= Does not install
USE_GCC=4.2+
.endif
post-patch:

View File

@ -0,0 +1,11 @@
--- src/mp3transcode/mp3transcode.cpp.orig 2007-09-27 17:37:07.000000000 +0300
+++ src/mp3transcode/mp3transcode.cpp 2008-09-08 01:43:36.000000000 +0300
@@ -281,7 +281,7 @@
{
int length;
int cnt;
- length = qMin( numBytes, ssize_t( getDecodedBufferFilled() ) );
+ length = qMin( numBytes, getDecodedBufferFilled() );
while (length > 0)
{