Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2016 10:09:41 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406841 - head/audio/quimup/files
Message-ID:  <201601211009.u0LA9fMr063646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601211009.u0LA9fMr063646>