summary refs log tree commit diff
path: root/pkgs/applications/office/kmymoney/qgpgme.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/kmymoney/qgpgme.patch')
-rw-r--r--pkgs/applications/office/kmymoney/qgpgme.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/applications/office/kmymoney/qgpgme.patch b/pkgs/applications/office/kmymoney/qgpgme.patch
new file mode 100644
index 0000000000000..59ed37edaf8e8
--- /dev/null
+++ b/pkgs/applications/office/kmymoney/qgpgme.patch
@@ -0,0 +1,17 @@
+KMymoney tries to find qgpgme before kdepimlibs. This is wrong because
+FindQGpgme is installed by kdepimlibs, thus can be invisible until kdepimlibs
+found.
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f6d7305..88bac67 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -59,8 +59,8 @@ else (WIN32)
+   find_package(Boost "1.33.1" COMPONENTS graph)
+ endif (WIN32)
+ # needed by libkgpgfile
+-find_package(QGpgme REQUIRED)
+ find_package(KdepimLibs REQUIRED)
++find_package(QGpgme REQUIRED)
+ find_package(SharedMimeInfo REQUIRED)
+ 
+ add_definitions( ${QT_DEFINITIONS} ${KDE4_DEFINITIONS} ${KDEPIM_DEFINITIONS})