File: fix-ftbfs.patch

package info (click to toggle)
swift-im 5.0~alpha2.145.g12d031cf8%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,240 kB
  • sloc: cpp: 134,640; python: 2,701; sh: 774; xml: 561; javascript: 69; makefile: 60
file content (62 lines) | stat: -rw-r--r-- 1,940 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
diff --git a/Swift/QtUI/Roster/GroupItemDelegate.cpp b/Swift/QtUI/Roster/GroupItemDelegate.cpp
index 0356aa001..28af259f5 100644
--- a/Swift/QtUI/Roster/GroupItemDelegate.cpp
+++ b/Swift/QtUI/Roster/GroupItemDelegate.cpp
@@ -7,6 +7,7 @@
 #include <Swift/QtUI/Roster/GroupItemDelegate.h>
 
 #include <QPainter>
+#include <QPainterPath>
 #include <QPen>
 #include <QtDebug>
 
diff --git a/Swiften/Elements/MIXJoin.h b/Swiften/Elements/MIXJoin.h
index ecd7b124d..4de3889b0 100644
--- a/Swiften/Elements/MIXJoin.h
+++ b/Swiften/Elements/MIXJoin.h
@@ -6,6 +6,7 @@
 
 #pragma once
 
+#include <algorithm>
 #include <memory>
 #include <string>
 #include <unordered_set>
diff --git a/Swiften/Elements/MIXUpdateSubscription.h b/Swiften/Elements/MIXUpdateSubscription.h
index dc6ed27ca..163c74838 100644
--- a/Swiften/Elements/MIXUpdateSubscription.h
+++ b/Swiften/Elements/MIXUpdateSubscription.h
@@ -10,6 +10,7 @@
 #include <unordered_set>
 
 #include <boost/optional.hpp>
+#include <algorithm>
 
 #include <Swiften/Base/API.h>
 #include <Swiften/Elements/Payload.h>
diff --git a/Swiften/MIX/MIXImpl.cpp b/Swiften/MIX/MIXImpl.cpp
index cd3eb21b9..4717fb5e8 100644
--- a/Swiften/MIX/MIXImpl.cpp
+++ b/Swiften/MIX/MIXImpl.cpp
@@ -11,6 +11,9 @@
 #include <Swiften/Queries/GenericRequest.h>
 #include <Swiften/Queries/IQRouter.h>
 
+#include <boost/bind/placeholders.hpp>
+using namespace boost::placeholders;
+
 namespace Swift {
 
 MIXImpl::MIXImpl(const JID& ownJID, const JID& channelJID, IQRouter* iqRouter) : ownJID_(ownJID), channelJID_(channelJID), iqRouter_(iqRouter) {
diff --git a/Swiften/TLS/OpenSSL/OpenSSLCertificateFactory.cpp b/Swiften/TLS/OpenSSL/OpenSSLCertificateFactory.cpp
index 73058a508..e733335ea 100644
--- a/Swiften/TLS/OpenSSL/OpenSSLCertificateFactory.cpp
+++ b/Swiften/TLS/OpenSSL/OpenSSLCertificateFactory.cpp
@@ -8,6 +8,7 @@
 
 #include <openssl/pem.h>
 #include <openssl/err.h>
+#include <limits>
 
 namespace Swift {