Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2607 by niro, Thu Jul 9 06:53:56 2015 UTC revision 2608 by niro, Thu Jul 9 07:11:54 2015 UTC
# Line 1  Line 1 
1  From: Gilles Caulier <caulier.gilles@gmail.com>  diff -Naur libkdcraw-4.14.3/libkdcraw/CMakeLists.txt libkdcraw-4.14.3-gcc5/libkdcraw/CMakeLists.txt
2  Date: Thu, 14 May 2015 20:54:16 +0000  --- libkdcraw-4.14.3/libkdcraw/CMakeLists.txt 2014-07-06 09:20:12.000000000 +0200
3  Subject: libraw 0.16.1 needs C++ exceptions rules while compilation  +++ libkdcraw-4.14.3-gcc5/libkdcraw/CMakeLists.txt 2015-07-09 09:11:54.736594911 +0200
4  X-Git-Url: http://quickgit.kde.org/?p=libkdcraw.git&a=commitdiff&h=46898ec97a0462eb08a5b6d09999450a86b27aae  @@ -22,6 +22,8 @@
 ---  
 libraw 0.16.1 needs C++ exceptions rules while compilation  
 BUGS: 347728  
 FIXED-IN: 4.11.0  
 ---  
   
   
 --- a/libkdcraw/CMakeLists.txt  
 +++ b/libkdcraw/CMakeLists.txt  
 @@ -3,6 +3,8 @@  
5   #   #
6   # Redistribution and use is allowed according to the terms of the BSD license.   # ============================================================
  # For details see the accompanying COPYING-CMAKE-SCRIPTS file.  
 +  
 +add_definitions(${KDE4_ENABLE_EXCEPTIONS})  
7    
8   configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/version.h)  +ADD_DEFINITIONS(${KDE4_ENABLE_EXCEPTIONS})
9    +
10     CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h)
11    
12     SET(kdcraw_LIB_SRCS kdcraw.cpp

Legend:
Removed from v.2607  
changed lines
  Added in v.2608