From 7bdba88ae5f2a20fac20464472b107924a4d8d88 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 11 Aug 2019 12:15:32 +0200 Subject: 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 --- net-im/choqok/choqok-1.6.0_p20190726.ebuild | 2 + .../choqok-1.6.0_p20190726-missing-header.patch | 94 ++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 net-im/choqok/files/choqok-1.6.0_p20190726-missing-header.patch (limited to 'net-im/choqok') diff --git a/net-im/choqok/choqok-1.6.0_p20190726.ebuild b/net-im/choqok/choqok-1.6.0_p20190726.ebuild index a24edf12236e..bb949cf2200d 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 000000000000..d8b58183e2bf --- /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 +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 +plugins/uploaders/imageshack/imageshack.h:48:24: error: field mUrlMap has incomplete type QMap +--- + 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 ++ + /** + @author Andrey Esin \ + */ +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 ++ + /** + @author Mehrdad Momeny \ + */ +-- +cgit v1.1 + +From bef6784596bf0b41287ebad81f138e1c8c2a6be2 Mon Sep 17 00:00:00 2001 +From: Albert Astals Cid +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 ++ + 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 ++ + 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 ++ + class KJob; + + class Twitgoo : public Choqok::Uploader +-- +cgit v1.1 -- cgit v1.2.3-65-gdbad