summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-07 11:40:45 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-07 12:29:55 +0200
commitf37cb27ce80a7751c76198e9d76e6953191383a8 (patch)
treeb12b7348425200be4ce13cacd5cfa128607d8807 /kde-apps
parentkde-plasma/kdecoration: Drop 5.13.2 (r0) (diff)
downloadgentoo-f37cb27ce80a7751c76198e9d76e6953191383a8.tar.gz
gentoo-f37cb27ce80a7751c76198e9d76e6953191383a8.tar.bz2
gentoo-f37cb27ce80a7751c76198e9d76e6953191383a8.zip
kde-apps/kopete: Fix build with USE=pipes
Closes: https://bugs.gentoo.org/660552 Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kopete/files/kopete-18.04.2-pipes.patch33
-rw-r--r--kde-apps/kopete/kopete-18.04.2.ebuild2
2 files changed, 35 insertions, 0 deletions
diff --git a/kde-apps/kopete/files/kopete-18.04.2-pipes.patch b/kde-apps/kopete/files/kopete-18.04.2-pipes.patch
new file mode 100644
index 000000000000..d52b71947004
--- /dev/null
+++ b/kde-apps/kopete/files/kopete-18.04.2-pipes.patch
@@ -0,0 +1,33 @@
+From 8084cfa3a0b3342e73fa128f89c7efd6bac79a36 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sat, 7 Jul 2018 11:14:32 +0200
+Subject: [PATCH] Fix pipes plugin build (missing moc include)
+
+---
+ plugins/pipes/pipesplugin.cpp | 2 ++
+ plugins/pipes/pipespreferences.cpp | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/plugins/pipes/pipesplugin.cpp b/plugins/pipes/pipesplugin.cpp
+index f86733b5e..27f3e5e68 100644
+--- a/plugins/pipes/pipesplugin.cpp
++++ b/plugins/pipes/pipesplugin.cpp
+@@ -353,3 +353,5 @@ void PipesPlugin::readXml(PipeOptions pipeOptions, Kopete::Message &msg, const Q
+ msg.setHtmlBody(body.text());
+ }
+ }
++
++#include "pipesplugin.moc"
+diff --git a/plugins/pipes/pipespreferences.cpp b/plugins/pipes/pipespreferences.cpp
+index f43b42af7..0ee22216b 100644
+--- a/plugins/pipes/pipespreferences.cpp
++++ b/plugins/pipes/pipespreferences.cpp
+@@ -108,3 +108,5 @@ void PipesPreferences::slotListChanged()
+ mPrefs->pipesList->resizeColumnToContents(PipesDelegate::ContentsColumn);
+ changed();
+ }
++
++#include "pipespreferences.moc"
+--
+2.18.0
+
diff --git a/kde-apps/kopete/kopete-18.04.2.ebuild b/kde-apps/kopete/kopete-18.04.2.ebuild
index 1c613fd92017..93402c1ecf1d 100644
--- a/kde-apps/kopete/kopete-18.04.2.ebuild
+++ b/kde-apps/kopete/kopete-18.04.2.ebuild
@@ -136,6 +136,8 @@ DEPEND="${COMMONDEPEND}
jingle? ( dev-libs/jsoncpp )
"
+PATCHES=( "${FILESDIR}/${P}-pipes.patch" )
+
src_configure() {
local x x2
# Handle common stuff