summaryrefslogtreecommitdiff
path: root/graphics/libkdcraw
diff options
context:
space:
mode:
authorjaapb <jaapb>2015-08-04 12:56:02 +0000
committerjaapb <jaapb>2015-08-04 12:56:02 +0000
commitd3893b04a10fb395a76eff3208ac4457c03a5038 (patch)
tree4cee73cc3577561ae2f0a004138ccc41d1eda5a9 /graphics/libkdcraw
parent9316c16c110eb048b047e7031dab83879f214a21 (diff)
downloadpkgsrc-d3893b04a10fb395a76eff3208ac4457c03a5038.tar.gz
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
Diffstat (limited to 'graphics/libkdcraw')
-rw-r--r--graphics/libkdcraw/distinfo3
-rw-r--r--graphics/libkdcraw/patches/patch-libkdcraw_CMakeLists.txt14
2 files changed, 16 insertions, 1 deletions
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