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

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

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

Package-Manager: portage-2.2.20.1
This commit is contained in:
Johannes Huber
2015-08-18 22:11:02 +02:00
parent 365e3ea437
commit c8837d5193
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
commit 46898ec97a0462eb08a5b6d09999450a86b27aae
Author: Gilles Caulier <caulier.gilles@gmail.com>
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

View File

@@ -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" )