summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/colord-kde')
-rw-r--r--kde-misc/colord-kde/colord-kde-0.3.0.ebuild2
-rw-r--r--kde-misc/colord-kde/files/colord-kde-0.3.0-cmake34.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/kde-misc/colord-kde/colord-kde-0.3.0.ebuild b/kde-misc/colord-kde/colord-kde-0.3.0.ebuild
index e0596cded20c..c348cc7374b6 100644
--- a/kde-misc/colord-kde/colord-kde-0.3.0.ebuild
+++ b/kde-misc/colord-kde/colord-kde-0.3.0.ebuild
@@ -23,6 +23,8 @@ RDEPEND="${DEPEND}
x11-misc/colord
"
+PATCHES=( "${FILESDIR}/${P}-cmake34.patch" )
+
pkg_postinst() {
kde4-base_pkg_postinst
if ! has_version "gnome-extra/gnome-color-manager"; then
diff --git a/kde-misc/colord-kde/files/colord-kde-0.3.0-cmake34.patch b/kde-misc/colord-kde/files/colord-kde-0.3.0-cmake34.patch
new file mode 100644
index 000000000000..671482dc191a
--- /dev/null
+++ b/kde-misc/colord-kde/files/colord-kde-0.3.0-cmake34.patch
@@ -0,0 +1,11 @@
+Fix build with >cmake-3.4
+
+Gentoo-bug: 569602
+
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -1,3 +1,4 @@
++include(CheckIncludeFiles)
+ include(CheckTypeSize)
+ include(FindPkgConfig)
+