summaryrefslogtreecommitdiff
path: root/extra/akonadi/boost153.patch
blob: 53ab4d91ed8add4cc3e73fa10500120a4acdad82 (plain)
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
From: Sergio Martins <iamsergio@gmail.com>
Date: Tue, 28 May 2013 20:22:11 +0000
Subject: Compile with boost-1.53
X-Git-Url: http://quickgit.kde.org/?p=akonadi.git&a=commitdiff&h=fe3f49cbd21a634c3257903a229b7d5357ee194a
---
Compile with boost-1.53

The bug isn't going to be fixed in Qt4, so we need the ifdef.

CCMAIL: vkrause@kde.org
---


--- a/shared/akapplication.h
+++ b/shared/akapplication.h
@@ -23,7 +23,9 @@
 #include <QtCore/QObject>
 
 #ifndef _WIN32_WCE
-#include <boost/program_options.hpp>
+# ifndef Q_MOC_RUN
+#  include <boost/program_options.hpp>
+# endif
 #endif
 
 class QCoreApplication;