1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add patch (sent upstream) to prepare for the upcoming Qt 5.5.1 update.

This commit is contained in:
Raphael Kubo da Costa 2016-01-21 12:35:54 +00:00
parent c3bfa5c307
commit 050a043f19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406851

View File

@ -0,0 +1,37 @@
Sent upstream: https://github.com/aarnt/octopkg/pull/4
commit 5f02bb3e504d1d3560ee5a7a3d7c0f90b25adac5
Author: Raphael Kubo da Costa <rakuco@FreeBSD.org>
Date: Thu Jan 21 13:27:57 2016 +0100
QtSolutions: Fix build with Qt 5.5.1.
Import commit ad9bc4600 to the qt-solutions git repository:
QtSingleApplication: Fix build with Qt 5.5 due to the QDataStream
include cleanup.
This fixes the following error:
src/QtSolutions/qtlocalpeer.cpp:159: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/QtSolutions/qtlocalpeer.cpp:179: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/QtSolutions/qtlocalpeer.cpp
+++ src/QtSolutions/qtlocalpeer.cpp
@@ -40,6 +40,7 @@
#include "qtlocalpeer.h"
#include <QtCore/QCoreApplication>
+#include <QtCore/QDataStream>
#include <QtCore/QTime>
#include <QRegularExpression>