summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/ksnapshot/files/ksnapshot-4.7-kipi.patch')
-rw-r--r--kde-base/ksnapshot/files/ksnapshot-4.7-kipi.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/kde-base/ksnapshot/files/ksnapshot-4.7-kipi.patch b/kde-base/ksnapshot/files/ksnapshot-4.7-kipi.patch
new file mode 100644
index 000000000000..43044fef2b76
--- /dev/null
+++ b/kde-base/ksnapshot/files/ksnapshot-4.7-kipi.patch
@@ -0,0 +1,19 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 683c270..25be4b5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,11 +1,13 @@
+ project(ksnapshot)
+
+ find_package(KDE4 REQUIRED)
+-find_package(Kipi)
+ include(KDE4Defaults)
+ include(MacroLibrary)
+ include(MacroOptionalAddSubdirectory)
+ include(MacroBoolTo01)
++include(MacroOptionalFindPackage)
++
++macro_optional_find_package(Kipi)
+
+ add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS})
+ include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})