From d3893b04a10fb395a76eff3208ac4457c03a5038 Mon Sep 17 00:00:00 2001 From: jaapb Date: Tue, 4 Aug 2015 12:56:02 +0000 Subject: Added patch to fix compilation error due to exceptions not being enabled. See https://svnweb.freebsd.org/ports?view=revision&revision=389789 Fixes PR pkg/50078 --- graphics/libkdcraw/distinfo | 3 ++- graphics/libkdcraw/patches/patch-libkdcraw_CMakeLists.txt | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 graphics/libkdcraw/patches/patch-libkdcraw_CMakeLists.txt (limited to 'graphics/libkdcraw') diff --git a/graphics/libkdcraw/distinfo b/graphics/libkdcraw/distinfo index d3e4f07a2d3..02913f9eb8f 100644 --- a/graphics/libkdcraw/distinfo +++ b/graphics/libkdcraw/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.18 2014/11/14 22:02:56 markd Exp $ +$NetBSD: distinfo,v 1.19 2015/08/04 12:56:02 jaapb Exp $ SHA1 (libkdcraw-4.14.3.tar.xz) = 52b8c0031baec1f2231c07e646383bfa299d6759 RMD160 (libkdcraw-4.14.3.tar.xz) = 28d68f4ebcecaa8658c2d3838ab3c71ff1d9f50b Size (libkdcraw-4.14.3.tar.xz) = 100176 bytes +SHA1 (patch-libkdcraw_CMakeLists.txt) = 8a9ba09a06e50383670d9fbb7d8291a09593b0fc diff --git a/graphics/libkdcraw/patches/patch-libkdcraw_CMakeLists.txt b/graphics/libkdcraw/patches/patch-libkdcraw_CMakeLists.txt new file mode 100644 index 00000000000..6d373e7bee1 --- /dev/null +++ b/graphics/libkdcraw/patches/patch-libkdcraw_CMakeLists.txt @@ -0,0 +1,14 @@ +$NetBSD: patch-libkdcraw_CMakeLists.txt,v 1.1 2015/08/04 12:56:02 jaapb Exp $ + +Enable exceptions for compilation +--- libkdcraw/CMakeLists.txt.orig 2014-07-06 07:20:12.000000000 +0000 ++++ 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 -- cgit v1.2.3