Magellan Linux

Contents of /trunk/libkdcraw/patches/libkdcraw-4.14.3-gcc5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2607 - (show annotations) (download)
Thu Jul 9 06:53:56 2015 UTC (8 years, 9 months ago) by niro
File size: 739 byte(s)
-fixed build with gcc5
1 From: Gilles Caulier <caulier.gilles@gmail.com>
2 Date: Thu, 14 May 2015 20:54:16 +0000
3 Subject: libraw 0.16.1 needs C++ exceptions rules while compilation
4 X-Git-Url: http://quickgit.kde.org/?p=libkdcraw.git&a=commitdiff&h=46898ec97a0462eb08a5b6d09999450a86b27aae
5 ---
6 libraw 0.16.1 needs C++ exceptions rules while compilation
7 BUGS: 347728
8 FIXED-IN: 4.11.0
9 ---
10
11
12 --- a/libkdcraw/CMakeLists.txt
13 +++ b/libkdcraw/CMakeLists.txt
14 @@ -3,6 +3,8 @@
15 #
16 # Redistribution and use is allowed according to the terms of the BSD license.
17 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
18 +
19 +add_definitions(${KDE4_ENABLE_EXCEPTIONS})
20
21 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/version.h)
22
23