commit:     c8837d51934b79fd46138e5bb3f7932ed0cdc0ab
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 18 20:11:02 2015 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 20:11:16 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8837d51

kde-apps/libkdcraw: Fix build with >=media-libs/libraw-0.16.1

Revision bump adds upstream patch by Gilles Caulier <caulier.gilles <AT> 
gmail.com>.

Gentoo-Bug: 555646
Reported-by: Oleg <oleg <AT> funtoo.org>
Acked-by: Robin Johnson <robbat2 <AT> gentoo.org>

Package-Manager: portage-2.2.20.1

 .../files/libkdcraw-4.14.3-libraw-0.16.1.patch         | 18 ++++++++++++++++++
 kde-apps/libkdcraw/libkdcraw-4.14.3-r1.ebuild          | 18 ++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/kde-apps/libkdcraw/files/libkdcraw-4.14.3-libraw-0.16.1.patch 
b/kde-apps/libkdcraw/files/libkdcraw-4.14.3-libraw-0.16.1.patch
new file mode 100644
index 0000000..a55ef87
--- /dev/null
+++ b/kde-apps/libkdcraw/files/libkdcraw-4.14.3-libraw-0.16.1.patch
@@ -0,0 +1,18 @@
+commit 46898ec97a0462eb08a5b6d09999450a86b27aae
+Author: Gilles Caulier <[email protected]>
+Date:   Thu May 14 22:54:16 2015 +0200
+
+libraw 0.16.1 needs C++ exceptions rules while compilation
+BUGS: 347728
+FIXED-IN: 4.11.0
+--- libkdcraw/CMakeLists.txt
++++ libkdcraw/CMakeLists.txt
+@@ -22,6 +22,8 @@
+ #
+ # ============================================================
+ 
++add_definitions (${KDE4_ENABLE_EXCEPTIONS})
++
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/version.h)
+ 
+ SET(kdcraw_LIB_SRCS kdcraw.cpp

diff --git a/kde-apps/libkdcraw/libkdcraw-4.14.3-r1.ebuild 
b/kde-apps/libkdcraw/libkdcraw-4.14.3-r1.ebuild
new file mode 100644
index 0000000..344cabb
--- /dev/null
+++ b/kde-apps/libkdcraw/libkdcraw-4.14.3-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="KDE digital camera raw image library wrapper"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+       >=media-libs/libraw-0.16_beta1-r1:=
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-libraw-0.16.1.patch" )

Reply via email to