aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2018-09-02 18:47:13 +0800
committertcberner <tcberner@FreeBSD.org>2018-09-02 18:47:13 +0800
commitb467bc29f4b9a2179ac8d45ee0e0b56265213dcb (patch)
tree04514b0fb006438bd03a822cfbdbfa91e0f16858 /graphics
parent4ac9b73391b8227c87081493da45c70623fe7570 (diff)
downloadfreebsd-ports-gnome-b467bc29f4b9a2179ac8d45ee0e0b56265213dcb.tar.gz
freebsd-ports-gnome-b467bc29f4b9a2179ac8d45ee0e0b56265213dcb.tar.zst
freebsd-ports-gnome-b467bc29f4b9a2179ac8d45ee0e0b56265213dcb.zip
graphics/kphotoalbum: fix build with Qt 5.11
PR: 230884 Obtained from: upstream
Diffstat (limited to 'graphics')
-rw-r--r--graphics/kphotoalbum/files/patch-git_47f4c0027
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/kphotoalbum/files/patch-git_47f4c00 b/graphics/kphotoalbum/files/patch-git_47f4c00
new file mode 100644
index 000000000000..19759a7b7c4a
--- /dev/null
+++ b/graphics/kphotoalbum/files/patch-git_47f4c00
@@ -0,0 +1,27 @@
+From 47f4c00adaa442cd03b02d44517b5503718f2813 Mon Sep 17 00:00:00 2001
+From: Christophe Giboudeaux <christophe@krop.fr>
+Date: Tue, 12 Jun 2018 22:52:06 +0200
+Subject: [PATCH] Fix build with Qt 5.11.
+
+Summary: 'id' is an int, it doesn't need qPrintable.
+
+Reviewers: johanneszarl
+
+Differential Revision: https://phabricator.kde.org/D13329
+---
+ RemoteControl/RemoteConnection.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/RemoteControl/RemoteConnection.cpp b/RemoteControl/RemoteConnection.cpp
+index 1dacb727..8bc18d00 100644
+--- RemoteControl/RemoteConnection.cpp
++++ RemoteControl/RemoteConnection.cpp
+@@ -105,7 +105,7 @@ void RemoteConnection::dataReceived()
+ std::unique_ptr<RemoteCommand> command = RemoteCommand::create(static_cast<CommandType>(id));
+ command->decode(stream);
+ protocolDebug() << qPrintable(QTime::currentTime().toString(QString::fromUtf8("hh:mm:ss.zzz")))
+- << ": Received " << qPrintable(id);
++ << ": Received " << id;
+
+ emit gotCommand(*command);
+ }