diff options
author | marino <marino@FreeBSD.org> | 2014-04-04 09:19:25 +0000 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-04-04 09:19:25 +0000 |
commit | b3820a0e1fe00914b9089287cd999e2109e8f349 (patch) | |
tree | 8749d417bb2b2d1ba2f8db17eca71801208494ad | |
parent | 97f7919c0ce09a35a145dc845e50bee791399e77 (diff) | |
download | FreeBSD-ports-b3820a0e1fe00914b9089287cd999e2109e8f349.zip FreeBSD-ports-b3820a0e1fe00914b9089287cd999e2109e8f349.tar.gz |
audio/last.fm: Attempt to fix build on F10+
-rw-r--r-- | audio/last.fm/Makefile | 4 | ||||
-rw-r--r-- | audio/last.fm/files/patch-src_output_RtAudio_rtaudio_RtAudio.cpp | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/audio/last.fm/Makefile b/audio/last.fm/Makefile index e936d48..31eaaa6 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 0000000..a9899af --- /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; |