summaryrefslogtreecommitdiff
path: root/user/ktorrent/qtimer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/ktorrent/qtimer.patch')
-rw-r--r--user/ktorrent/qtimer.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/ktorrent/qtimer.patch b/user/ktorrent/qtimer.patch
new file mode 100644
index 000000000..efbf740c0
--- /dev/null
+++ b/user/ktorrent/qtimer.patch
@@ -0,0 +1,29 @@
+From 6d7433d44c7f18cd84d2de105beb5c646ed0e355 Mon Sep 17 00:00:00 2001
+From: Adriaan de Groot <groot@kde.org>
+Date: Tue, 24 Apr 2018 19:15:32 +0200
+Subject: QTimer may not be an incomplete type as it is used as a member
+ variable. Add the #include to fully define the type. This problem shows up
+ when this header is included in a context that doesn't already have QTimer
+ included -- CMake 3.11 exposes that accidentally.
+
+Upstreamed from FreeBSD ports.
+---
+ ktorrent/dialogs/torrentcreatordlg.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/ktorrent/dialogs/torrentcreatordlg.h b/ktorrent/dialogs/torrentcreatordlg.h
+index 68dde8a..12a1a43 100644
+--- a/ktorrent/dialogs/torrentcreatordlg.h
++++ b/ktorrent/dialogs/torrentcreatordlg.h
+@@ -23,6 +23,8 @@
+ #define KT_TORRENTCREATORDLG_HH
+
+ #include <QDialog>
++#include <QTimer>
++
+ #include "ui_torrentcreatordlg.h"
+ #include <torrent/torrentcreator.h>
+
+--
+cgit v0.11.2
+