commit:     d504999f6d7ca07e021381af9091b126656cac43
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Tue Dec 29 15:07:20 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 16:01:58 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d504999f

media-gfx/digikam: Fix build w/ media-libs/lensfun-0.3.2, bug 566624

Package-Manager: portage-2.2.24

 media-gfx/digikam/digikam-4.12.0.ebuild            |  2 ++
 media-gfx/digikam/digikam-4.14.0.ebuild            |  2 ++
 media-gfx/digikam/digikam-4.4.0-r1.ebuild          |  1 +
 .../digikam/files/digikam-4.14.0-lensfun.patch     | 26 ++++++++++++++++++++++
 4 files changed, 31 insertions(+)

diff --git a/media-gfx/digikam/digikam-4.12.0.ebuild 
b/media-gfx/digikam/digikam-4.12.0.ebuild
index e78ff14..24f27f7 100644
--- a/media-gfx/digikam/digikam-4.12.0.ebuild
+++ b/media-gfx/digikam/digikam-4.12.0.ebuild
@@ -71,6 +71,8 @@ S="${WORKDIR}/${MY_P}/core"
 RESTRICT=test
 # bug 366505
 
+PATCHES=( "${FILESDIR}/${PN}-4.14.0-lensfun.patch" ) # bug 566624
+
 src_prepare() {
        # just to make absolutely sure
        rm -rf "${WORKDIR}/${MY_P}/extra" || die

diff --git a/media-gfx/digikam/digikam-4.14.0.ebuild 
b/media-gfx/digikam/digikam-4.14.0.ebuild
index cf97a95..bd44576 100644
--- a/media-gfx/digikam/digikam-4.14.0.ebuild
+++ b/media-gfx/digikam/digikam-4.14.0.ebuild
@@ -72,6 +72,8 @@ S="${WORKDIR}/${MY_P}/core"
 RESTRICT=test
 # bug 366505
 
+PATCHES=( "${FILESDIR}/${PN}-4.14.0-lensfun.patch" ) # bug 566624
+
 src_prepare() {
        # just to make absolutely sure
        rm -rf "${WORKDIR}/${MY_P}/extra" || die

diff --git a/media-gfx/digikam/digikam-4.4.0-r1.ebuild 
b/media-gfx/digikam/digikam-4.4.0-r1.ebuild
index 57376c3..993d5f9 100644
--- a/media-gfx/digikam/digikam-4.4.0-r1.ebuild
+++ b/media-gfx/digikam/digikam-4.4.0-r1.ebuild
@@ -82,6 +82,7 @@ RESTRICT=test
 PATCHES=(
        "${FILESDIR}/${P}-libkexiv2.patch"
        "${FILESDIR}/${P}-hang.patch"
+       "${FILESDIR}/${PN}-4.14.0-lensfun.patch" # bug 566624
 )
 
 src_prepare() {

diff --git a/media-gfx/digikam/files/digikam-4.14.0-lensfun.patch 
b/media-gfx/digikam/files/digikam-4.14.0-lensfun.patch
new file mode 100644
index 0000000..37776f6
--- /dev/null
+++ b/media-gfx/digikam/files/digikam-4.14.0-lensfun.patch
@@ -0,0 +1,26 @@
+From: Gilles Caulier <caulier.gil...@gmail.com>
+Date: Mon, 14 Dec 2015 21:41:55 +0000
+Subject: fix compilation with Lensfun 0.3.2
+X-Git-Url: 
http://quickgit.kde.org/?p=digikam.git&a=commitdiff&h=0f159981176faa6da701f112bfe557b79804d468
+---
+fix compilation with Lensfun 0.3.2
+It still compatible with older lensfun releases.
+BUGS: 356672
+FIXED-IN: 5.0.0
+---
+
+
+--- a/libs/dimg/filters/lens/lensfuniface.h
++++ b/libs/dimg/filters/lens/lensfuniface.h
+@@ -24,10 +24,7 @@
+ 
+ // Lib LensFun includes
+ 
+-extern "C"
+-{
+ #include <lensfun.h>
+-}
+ 
+ // Local includes
+ 
+

Reply via email to