Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > a1ce76231230861b3680bf0ec1fcb00f > files > 1

libkdcraw-4.14.3-2.mga5.src.rpm

From 46898ec97a0462eb08a5b6d09999450a86b27aae Mon Sep 17 00:00:00 2001
From: Gilles Caulier <caulier.gilles@gmail.com>
Date: Thu, 14 May 2015 22:54:16 +0200
Subject: [PATCH] libraw 0.16.1 needs C++ exceptions rules while compilation
 BUGS: 347728 FIXED-IN: 4.11.0

---
 libkdcraw/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libkdcraw/CMakeLists.txt b/libkdcraw/CMakeLists.txt
index f23e5af..73b279f 100644
--- a/libkdcraw/CMakeLists.txt
+++ b/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
-- 
2.3.2