kde-misc/colord-kde: fix build with >=dev-util/cmake-3.4

Gentoo-bug: 569602

Package-Manager: portage-2.2.26
This commit is contained in:
Michael Palimaka
2015-12-26 04:19:09 +11:00
parent e77a27172d
commit 590c1cbfed
2 changed files with 13 additions and 0 deletions

View File

@@ -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

View File

@@ -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)