svn commit: r406841 - head/audio/quimup/files

Raphael Kubo da Costa rakuco at FreeBSD.org
Thu Jan 21 10:09:42 UTC 2016


Author: rakuco
Date: Thu Jan 21 10:09:41 2016
New Revision: 406841
URL: https://svnweb.freebsd.org/changeset/ports/406841

Log:
  Add patch to fix the build with the upcoming Qt 5.5.1.
  
  Basically a case of include what you use.

Added:
  head/audio/quimup/files/patch-src_qtlocalpeer.cpp   (contents, props changed)

Added: head/audio/quimup/files/patch-src_qtlocalpeer.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/quimup/files/patch-src_qtlocalpeer.cpp	Thu Jan 21 10:09:41 2016	(r406841)
@@ -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)


More information about the svn-ports-all mailing list