Gentoo-bug: 566814
Package-Manager: portage-2.2.26
--- /dev/null
+Fix build with >=cmake-3.4
+
+Gentoo-bug: 566814
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6f8a16f..8565f88 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3,6 +3,7 @@ project(kgamma)
+ find_package(KDE4 REQUIRED)
+ include(KDE4Defaults)
+ include(MacroLibrary)
++include(CheckIncludeFiles)
+
+ find_package(X11 REQUIRED)
+
DEPEND="${RDEPEND}
x11-proto/xf86vidmodeproto
"
+
+PATCHES=( "${FILESDIR}/${P}-cmake34.patch" )