diff options
author | miwi <miwi@FreeBSD.org> | 2008-09-12 16:48:58 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-09-12 16:48:58 +0800 |
commit | 4d57d6ffd91ada58e06d1806e04a9ea4adb7df85 (patch) | |
tree | 60c6ef2769baeeabd3424bde99b997b29a02e2ca /audio/last.fm | |
parent | f67677a69cb1a12427c10e92b8699bbbf70c0217 (diff) | |
download | freebsd-ports-gnome-4d57d6ffd91ada58e06d1806e04a9ea4adb7df85.tar.gz freebsd-ports-gnome-4d57d6ffd91ada58e06d1806e04a9ea4adb7df85.tar.zst freebsd-ports-gnome-4d57d6ffd91ada58e06d1806e04a9ea4adb7df85.zip |
- Fix build on amd64
PR: 127223
Submitted by: "Andrius Morkūnas" <hinokind@gmail.com>
Approved by: portmgr (erwin)
Diffstat (limited to 'audio/last.fm')
-rw-r--r-- | audio/last.fm/Makefile | 2 | ||||
-rw-r--r-- | audio/last.fm/files/patch-src_mp3transcode_mp3transcode.cpp | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/audio/last.fm/Makefile b/audio/last.fm/Makefile index ef073a765425..739d8820c2f7 100644 --- a/audio/last.fm/Makefile +++ b/audio/last.fm/Makefile @@ -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: diff --git a/audio/last.fm/files/patch-src_mp3transcode_mp3transcode.cpp b/audio/last.fm/files/patch-src_mp3transcode_mp3transcode.cpp new file mode 100644 index 000000000000..4f9fe9e64aed --- /dev/null +++ b/audio/last.fm/files/patch-src_mp3transcode_mp3transcode.cpp @@ -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) + { |