media-gfx/kphotoalbum: backport patch from upstream fixing build failure with USE...
authorMichael Palimaka <kensington@gentoo.org>
Thu, 21 Jul 2016 11:48:37 +0000 (21:48 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 21 Jul 2016 11:48:58 +0000 (21:48 +1000)
Gentoo-bug: 589282

Package-Manager: portage-2.3.0

media-gfx/kphotoalbum/files/kphotoalbum-4.7.1-nokipi.patch [new file with mode: 0644]
media-gfx/kphotoalbum/kphotoalbum-4.7.1.ebuild

diff --git a/media-gfx/kphotoalbum/files/kphotoalbum-4.7.1-nokipi.patch b/media-gfx/kphotoalbum/files/kphotoalbum-4.7.1-nokipi.patch
new file mode 100644 (file)
index 0000000..fbaa5b5
--- /dev/null
@@ -0,0 +1,24 @@
+From 6455e21ee1e1d52e9bd35e61f776031d37ca1b6c Mon Sep 17 00:00:00 2001
+From: Tobias Leupold <tobias.leupold@web.de>
+Date: Wed, 20 Jul 2016 22:53:06 +0200
+Subject: [PATCH] Fix building without KIPI.
+
+---
+ Viewer/InfoBox.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Viewer/InfoBox.cpp b/Viewer/InfoBox.cpp
+index 5c619c5..b37c0de 100644
+--- a/Viewer/InfoBox.cpp
++++ b/Viewer/InfoBox.cpp
+@@ -34,6 +34,7 @@
+ #include <KGlobal>
+ #include <KIconLoader>
+ #include <KDebug>
++#include <KLocale>
+ // Local includes
+ #include "Browser/BrowserWidget.h"
+-- 
+2.7.3
+
index f51aea715be27f0321ff2b83b727c63a48a940e7..397e100013dd8f66ef6c26e879d7f39e14b4435d 100644 (file)
@@ -40,6 +40,7 @@ RDEPEND="${COMMON_DEPEND}
 "
 
 DOCS=( ChangeLog README )
+PATCHES=( "${FILESDIR}/${P}-nokipi.patch" )
 
 src_configure() {
        local mycmakeargs=(