From: Michael Palimaka Date: Thu, 26 Nov 2015 16:22:52 +0000 (+1100) Subject: kde-apps/kgamma: add patch to solve build failure with >=dev-util/cmake-3.4.0 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d44be9b34321798058970dd8c282644978a671b4;p=gentoo.git kde-apps/kgamma: add patch to solve build failure with >=dev-util/cmake-3.4.0 Gentoo-bug: 566814 Package-Manager: portage-2.2.26 --- diff --git a/kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch b/kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch new file mode 100644 index 000000000000..4aa0969bef1c --- /dev/null +++ b/kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch @@ -0,0 +1,16 @@ +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) + diff --git a/kde-apps/kgamma/kgamma-4.14.3.ebuild b/kde-apps/kgamma/kgamma-4.14.3.ebuild index d01b4224df84..50dfbd28e621 100644 --- a/kde-apps/kgamma/kgamma-4.14.3.ebuild +++ b/kde-apps/kgamma/kgamma-4.14.3.ebuild @@ -17,3 +17,5 @@ RDEPEND=" DEPEND="${RDEPEND} x11-proto/xf86vidmodeproto " + +PATCHES=( "${FILESDIR}/${P}-cmake34.patch" )