diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-17 22:54:09 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-17 22:54:09 +0100 |
| commit | 158d589c8aa05a7f1695fa6b39c94e285ccca927 (patch) | |
| tree | d3c9b4d76c46a8aafcad9b664dd765e88ebe64c9 /kde-apps/akonadi/files/akonadi-19.11.80-qt-5.14.patch | |
| parent | b235fe6e9f715e2d79c28913d6829e68573d4335 (diff) | |
| download | kde-158d589c8aa05a7f1695fa6b39c94e285ccca927.tar.gz kde-158d589c8aa05a7f1695fa6b39c94e285ccca927.tar.bz2 kde-158d589c8aa05a7f1695fa6b39c94e285ccca927.zip | |
kde-apps/akonadi: Fix build with Qt 5.14
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/akonadi/files/akonadi-19.11.80-qt-5.14.patch')
| -rw-r--r-- | kde-apps/akonadi/files/akonadi-19.11.80-qt-5.14.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/kde-apps/akonadi/files/akonadi-19.11.80-qt-5.14.patch b/kde-apps/akonadi/files/akonadi-19.11.80-qt-5.14.patch new file mode 100644 index 00000000000..c3165698b22 --- /dev/null +++ b/kde-apps/akonadi/files/akonadi-19.11.80-qt-5.14.patch @@ -0,0 +1,46 @@ +From 1d4bb01a60548ae9a5439186fbe155f9f7d492e4 Mon Sep 17 00:00:00 2001 +From: Heiko Becker <heirecka@exherbo.org> +Date: Sun, 17 Nov 2019 18:45:49 +0100 +Subject: Fix build with Qt 5.14 + +Summary: +std::hash<QString> is already specialized in Qt 5.14 [1], so we need +to avoid redifining it with this version. + +[1] 4469e36d7203a55a4e158a50f0e9effc3f2fa3c2 in qtbase.git + +Test Plan: Builds fine with Qt 5.14.0-beta3 + +Reviewers: #kde_pim + +Subscribers: kde-pim + +Tags: #kde_pim + +Differential Revision: https://phabricator.kde.org/D25356 +--- + src/shared/akstd.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/shared/akstd.h b/src/shared/akstd.h +index 4078ee4..774c432 100644 +--- a/src/shared/akstd.h ++++ b/src/shared/akstd.h +@@ -29,6 +29,7 @@ + + namespace std { + ++#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) + template<> + struct hash<QString> { + using argument_type = QString; +@@ -39,6 +40,7 @@ struct hash<QString> { + return qHash(s); + } + }; ++#endif + + } + +-- +cgit v1.1 |
