forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-gfx/digikam: Fix build with >=kde-apps/akonadi-contacts-21.12.0
Closes: https://bugs.gentoo.org/829539 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
media-gfx/digikam/files/digikam-7.3.0-akonadi-21.12.0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 95a8ece964681fc6823e968541da2da2da06b3dd Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20USTA?= <[email protected]> | ||
Date: Sat, 2 Oct 2021 21:50:04 +0300 | ||
Subject: [PATCH] Fix compile for newer Akonadi Build Versions | ||
|
||
--- | ||
core/utilities/extrasupport/addressbook/akonadiiface.cpp | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
|
||
diff --git a/core/utilities/extrasupport/addressbook/akonadiiface.cpp b/core/utilities/extrasupport/addressbook/akonadiiface.cpp | ||
index 8e43dad0da..cb38036e39 100644 | ||
--- a/core/utilities/extrasupport/addressbook/akonadiiface.cpp | ||
+++ b/core/utilities/extrasupport/addressbook/akonadiiface.cpp | ||
@@ -41,7 +41,14 @@ | ||
#endif | ||
|
||
#include <kjob.h> | ||
+#include <akonadi_version.h> | ||
+ | ||
+#if AKONADI_VERSION >= QT_VERSION_CHECK(5, 18, 41) | ||
+#include <Akonadi/Item> | ||
+#else | ||
#include <AkonadiCore/Item> | ||
+#endif | ||
+ | ||
#include <Akonadi/Contact/ContactSearchJob> | ||
#include <KContacts/Addressee> | ||
|
||
-- | ||
2.34.1 | ||
|