summaryrefslogtreecommitdiff
path: root/user/ktorrent/qtimer.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 00:46:39 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 01:00:59 -0500
commit72db649bc3ed62e557bb45c62a571a4481c7a876 (patch)
treee411a712736eb37ee52351a66385cdaa0719c384 /user/ktorrent/qtimer.patch
parent1c6a316b2c20d1ca4eb8a1922a6942ee9c779e5f (diff)
downloadpackages-72db649bc3ed62e557bb45c62a571a4481c7a876.tar.gz
packages-72db649bc3ed62e557bb45c62a571a4481c7a876.tar.bz2
packages-72db649bc3ed62e557bb45c62a571a4481c7a876.tar.xz
packages-72db649bc3ed62e557bb45c62a571a4481c7a876.zip
user/ktorrent: modernise, fix build on Qt 5.9.6
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
+