aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-04-04 09:19:25 +0000
committerJohn Marino <marino@FreeBSD.org>2014-04-04 09:19:25 +0000
commit49f51985abcad6bd08b9a18765676db2b3ab597f (patch)
tree8749d417bb2b2d1ba2f8db17eca71801208494ad /audio
parent276aae5abcbb662ee2a676373011ee218785e9ac (diff)
downloadports-49f51985abcad6bd08b9a18765676db2b3ab597f.tar.gz
ports-49f51985abcad6bd08b9a18765676db2b3ab597f.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/last.fm/Makefile4
-rw-r--r--audio/last.fm/files/patch-src_output_RtAudio_rtaudio_RtAudio.cpp10
2 files changed, 12 insertions, 2 deletions
diff --git a/audio/last.fm/Makefile b/audio/last.fm/Makefile
index e936d4819f2f..31eaaa67ec41 100644
--- a/audio/last.fm/Makefile
+++ b/audio/last.fm/Makefile
@@ -21,11 +21,11 @@ LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib \
WRKSRC= ${WRKDIR}/last.fm-${PORTVERSION}
-USE_BZIP2= yes
-USES= dos2unix qmake:norecursive
+USES= dos2unix qmake:norecursive tar:bzip2
DOS2UNIX_GLOB= *.h *.cpp
USE_QT4= moc_build rcc_build uic_build \
gui network sql xml imageformats_run
+LDFLAGS+= -lz -L${LOCALBASE}/lib -lX11
QMAKE_SOURCE_PATH= ${WRKSRC}/LastFM.pro
USE_LDCONFIG= yes
diff --git a/audio/last.fm/files/patch-src_output_RtAudio_rtaudio_RtAudio.cpp b/audio/last.fm/files/patch-src_output_RtAudio_rtaudio_RtAudio.cpp
new file mode 100644
index 000000000000..a9899af56c35
--- /dev/null
+++ b/audio/last.fm/files/patch-src_output_RtAudio_rtaudio_RtAudio.cpp
@@ -0,0 +1,10 @@
+--- src/output/RtAudio/rtaudio/RtAudio.cpp.intermediate 2014-04-04 08:59:58.181014000 +0000
++++ src/output/RtAudio/rtaudio/RtAudio.cpp
+@@ -57,6 +57,7 @@
+ #include "RtAudio.h"
+ #include <iostream>
+ #include <stdio.h>
++#include <string.h>
+
+ // Static variable definitions.
+ const unsigned int RtApi::MAX_SAMPLE_RATES = 14;