diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-01-21 10:09:41 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-01-21 10:09:41 +0000 |
commit | 8a4ec5b5b6b98c15b22c79340d26342d2af2da86 (patch) | |
tree | 83e8797b6b0ca60738db9499ff84da4ede5d0bb0 /audio/quimup | |
parent | a3eecc98e298f41bf5fd50aeac508cb5e43ea10c (diff) | |
download | ports-8a4ec5b5b6b98c15b22c79340d26342d2af2da86.tar.gz ports-8a4ec5b5b6b98c15b22c79340d26342d2af2da86.zip |
Notes
Diffstat (limited to 'audio/quimup')
-rw-r--r-- | audio/quimup/files/patch-src_qtlocalpeer.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/quimup/files/patch-src_qtlocalpeer.cpp b/audio/quimup/files/patch-src_qtlocalpeer.cpp new file mode 100644 index 000000000000..36a55b818e89 --- /dev/null +++ b/audio/quimup/files/patch-src_qtlocalpeer.cpp @@ -0,0 +1,25 @@ +Fix the build with Qt >= 5.5: + +src/qtlocalpeer.cpp:157:17: error: variable has incomplete type 'QDataStream' + QDataStream ds(&socket); + ^ +/usr/local/include/qt5/QtCore/qglobal.h:570:7: note: forward declaration of 'QDataStream' +class QDataStream; + ^ +src/qtlocalpeer.cpp:177:17: error: variable has incomplete type 'QDataStream' + QDataStream ds(socket); + ^ +/usr/local/include/qt5/QtCore/qglobal.h:570:7: note: forward declaration of 'QDataStream' +class QDataStream; + ^ +2 errors generated. +--- src/qtlocalpeer.cpp.orig 2016-01-21 08:48:24 UTC ++++ src/qtlocalpeer.cpp +@@ -40,6 +40,7 @@ + + #include "qtlocalpeer.h" + #include <QCoreApplication> ++#include <QDataStream> + #include <QTime> + + #if defined(Q_OS_WIN) |