summaryrefslogtreecommitdiff
path: root/misc/kdepimlibs4/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-10-02 04:32:22 +0000
committermarkd <markd@pkgsrc.org>2011-10-02 04:32:22 +0000
commitc6a3edde974b6df4c35293e184fe3a5138cfb274 (patch)
tree4ec1761f1245e4dbc70298847be2f809107a71cf /misc/kdepimlibs4/patches
parentdef6fc03138e36e643bc84319e210a40269a99c3 (diff)
downloadpkgsrc-c6a3edde974b6df4c35293e184fe3a5138cfb274.tar.gz
Fix build with gcc45 and current boost libs
Diffstat (limited to 'misc/kdepimlibs4/patches')
-rw-r--r--misc/kdepimlibs4/patches/patch-akonadi_CMakeLists.txt12
-rw-r--r--misc/kdepimlibs4/patches/patch-kblog_CMakeLists.txt13
-rw-r--r--misc/kdepimlibs4/patches/patch-qgpgme_CMakeLists.txt13
3 files changed, 38 insertions, 0 deletions
diff --git a/misc/kdepimlibs4/patches/patch-akonadi_CMakeLists.txt b/misc/kdepimlibs4/patches/patch-akonadi_CMakeLists.txt
new file mode 100644
index 00000000000..b589a3f2719
--- /dev/null
+++ b/misc/kdepimlibs4/patches/patch-akonadi_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD: patch-akonadi_CMakeLists.txt,v 1.1 2011/10/02 04:32:22 markd Exp $
+
+--- akonadi/CMakeLists.txt.orig 2011-09-27 09:07:39.000000000 +0000
++++ akonadi/CMakeLists.txt
+@@ -1,6 +1,7 @@
+ project(akonadi-kde)
+
+ add_definitions( -DKDE_DEFAULT_DEBUG_AREA=5250 )
++add_definitions( -DBOOST_NO_0X_HDR_INITIALIZER_LIST )
+
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
+ if(CMAKE_COMPILE_GCOV)
diff --git a/misc/kdepimlibs4/patches/patch-kblog_CMakeLists.txt b/misc/kdepimlibs4/patches/patch-kblog_CMakeLists.txt
new file mode 100644
index 00000000000..a33c20db385
--- /dev/null
+++ b/misc/kdepimlibs4/patches/patch-kblog_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD: patch-kblog_CMakeLists.txt,v 1.1 2011/10/02 04:32:22 markd Exp $
+
+--- kblog/CMakeLists.txt.orig 2011-09-27 09:07:09.000000000 +0000
++++ kblog/CMakeLists.txt
+@@ -4,6 +4,8 @@ include_directories(${Boost_INCLUDE_DIR}
+
+ add_subdirectory( tests )
+
++add_definitions(${KDE4_ENABLE_EXCEPTIONS})
++
+ ########### next target ###############
+
+ set(kblog_LIB_SRCS
diff --git a/misc/kdepimlibs4/patches/patch-qgpgme_CMakeLists.txt b/misc/kdepimlibs4/patches/patch-qgpgme_CMakeLists.txt
new file mode 100644
index 00000000000..5e0b1b31e41
--- /dev/null
+++ b/misc/kdepimlibs4/patches/patch-qgpgme_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD: patch-qgpgme_CMakeLists.txt,v 1.1 2011/10/02 04:32:22 markd Exp $
+
+--- qgpgme/CMakeLists.txt.orig 2011-09-27 09:07:25.000000000 +0000
++++ qgpgme/CMakeLists.txt
+@@ -4,6 +4,8 @@ set( _any_gpgme_found false )
+ set( _qgpgme_version 1.0.1 )
+ set( _qgpgme_soversion 1 )
+
++add_definitions(${KDE4_ENABLE_EXCEPTIONS})
++
+ if ( WIN32 AND GPGME_VANILLA_FOUND )
+
+ # on Windows, we require gpgme(-vanilla), which is thread-safe,