Skip to content

Commit

Permalink
kde-apps/kdepim-apps-libs: backport patch from upstream solving build…
Browse files Browse the repository at this point in the history
… failure

Gentoo-bug: 613394
Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
kensington committed Mar 25, 2017
1 parent 65bdba1 commit 2993d35
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 1238688143cc435ec626f3aac7f718ce323b6433 Mon Sep 17 00:00:00 2001
From: Milian Wolff <[email protected]>
Date: Tue, 31 Jan 2017 17:16:29 +0100
Subject: [PATCH] Fix compile: add missing QImage include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

/home/milian/projects/kf5/src/kde/pim/kdepim-apps-libs/kaddressbookgrantlee/src/printing/contactgrantleeprintobject.cpp:257:74: error: invalid use of incomplete type ‘class QImage’
---
kaddressbookgrantlee/src/printing/contactgrantleeprintobject.cpp | 1 +
1 file changed, 1 insertion(+)

diff --git a/kaddressbookgrantlee/src/printing/contactgrantleeprintobject.cpp b/kaddressbookgrantlee/src/printing/contactgrantleeprintobject.cpp
index 9e6f757..baf4294 100644
--- a/kaddressbookgrantlee/src/printing/contactgrantleeprintobject.cpp
+++ b/kaddressbookgrantlee/src/printing/contactgrantleeprintobject.cpp
@@ -32,6 +32,7 @@
#include <QVariant>
#include <grantlee/metatype.h>
#include <QLocale>
+#include <QImage>

using namespace KAddressBookGrantlee;

--
2.10.2

2 changes: 2 additions & 0 deletions kde-apps/kdepim-apps-libs/kdepim-apps-libs-16.12.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${P}-include.patch" )

src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package prison KF5Prison)
Expand Down

0 comments on commit 2993d35

Please sign in to comment.