commit:     7bdba88ae5f2a20fac20464472b107924a4d8d88
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 10:15:32 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 10:17:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bdba88a

net-im/choqok: Fix missing header with Frameworks 5.61

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-im/choqok/choqok-1.6.0_p20190726.ebuild        |  2 +
 .../choqok-1.6.0_p20190726-missing-header.patch    | 94 ++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/net-im/choqok/choqok-1.6.0_p20190726.ebuild 
b/net-im/choqok/choqok-1.6.0_p20190726.ebuild
index a24edf12236..bb949cf2200 100644
--- a/net-im/choqok/choqok-1.6.0_p20190726.ebuild
+++ b/net-im/choqok/choqok-1.6.0_p20190726.ebuild
@@ -59,3 +59,5 @@ src_configure() {
 
        kde5_src_configure
 }
+
+PATCHES=( "${FILESDIR}"/${P}-missing-header.patch )

diff --git a/net-im/choqok/files/choqok-1.6.0_p20190726-missing-header.patch 
b/net-im/choqok/files/choqok-1.6.0_p20190726-missing-header.patch
new file mode 100644
index 00000000000..d8b58183e2b
--- /dev/null
+++ b/net-im/choqok/files/choqok-1.6.0_p20190726-missing-header.patch
@@ -0,0 +1,94 @@
+From 08fb06b63a78888e6703de6ac1a4fd6a0e2791eb Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <[email protected]>
+Date: Sun, 28 Jul 2019 00:14:30 +0200
+Subject: Fix compile on CI
+
+plugins/uploaders/flickr/flickr.h:50:24: error: field mUrlMap has incomplete 
type QMap<KJob*, QUrl>
+plugins/uploaders/imageshack/imageshack.h:48:24: error: field mUrlMap has 
incomplete type QMap<KJob*, QUrl>
+---
+ plugins/uploaders/flickr/flickr.h         | 2 ++
+ plugins/uploaders/imageshack/imageshack.h | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/plugins/uploaders/flickr/flickr.h 
b/plugins/uploaders/flickr/flickr.h
+index 890219a..7b26609 100644
+--- a/plugins/uploaders/flickr/flickr.h
++++ b/plugins/uploaders/flickr/flickr.h
+@@ -26,6 +26,8 @@
+ 
+ #include "uploader.h"
+ 
++#include <QMap>
++
+ /**
+ @author Andrey Esin \<[email protected]\>
+ */
+diff --git a/plugins/uploaders/imageshack/imageshack.h 
b/plugins/uploaders/imageshack/imageshack.h
+index d9ddc88..63d0e3f 100644
+--- a/plugins/uploaders/imageshack/imageshack.h
++++ b/plugins/uploaders/imageshack/imageshack.h
+@@ -26,6 +26,8 @@
+ 
+ #include "uploader.h"
+ 
++#include <QMap>
++
+ /**
+ @author Mehrdad Momeny \<[email protected]\>
+ */
+-- 
+cgit v1.1
+
+From bef6784596bf0b41287ebad81f138e1c8c2a6be2 Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <[email protected]>
+Date: Sun, 28 Jul 2019 00:20:34 +0200
+Subject: Fix build on CI
+
+Even more missing QMap includes
+---
+ plugins/uploaders/mobypicture/mobypicture.h | 2 ++
+ plugins/uploaders/posterous/posterous.h     | 2 ++
+ plugins/uploaders/twitgoo/twitgoo.h         | 2 ++
+ 3 files changed, 6 insertions(+)
+
+diff --git a/plugins/uploaders/mobypicture/mobypicture.h 
b/plugins/uploaders/mobypicture/mobypicture.h
+index 098f411..86f61fd 100644
+--- a/plugins/uploaders/mobypicture/mobypicture.h
++++ b/plugins/uploaders/mobypicture/mobypicture.h
+@@ -26,6 +26,8 @@
+ 
+ #include "uploader.h"
+ 
++#include <QMap>
++
+ class KJob;
+ 
+ class Mobypicture : public Choqok::Uploader
+diff --git a/plugins/uploaders/posterous/posterous.h 
b/plugins/uploaders/posterous/posterous.h
+index c7f6fe1..5c9442d 100644
+--- a/plugins/uploaders/posterous/posterous.h
++++ b/plugins/uploaders/posterous/posterous.h
+@@ -26,6 +26,8 @@
+ 
+ #include "uploader.h"
+ 
++#include <QMap>
++
+ class KJob;
+ 
+ class Posterous : public Choqok::Uploader
+diff --git a/plugins/uploaders/twitgoo/twitgoo.h 
b/plugins/uploaders/twitgoo/twitgoo.h
+index ee3f496..020080e 100644
+--- a/plugins/uploaders/twitgoo/twitgoo.h
++++ b/plugins/uploaders/twitgoo/twitgoo.h
+@@ -26,6 +26,8 @@
+ 
+ #include "uploader.h"
+ 
++#include <QMap>
++
+ class KJob;
+ 
+ class Twitgoo : public Choqok::Uploader
+-- 
+cgit v1.1

Reply via email to