Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kgamma/, kde-apps/kgamma/files/
Date: Thu, 26 Nov 2015 16:23:52
Message-Id: 1448554997.d44be9b34321798058970dd8c282644978a671b4.kensington@gentoo
1 commit: d44be9b34321798058970dd8c282644978a671b4
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 26 16:22:52 2015 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 26 16:23:17 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d44be9b3
7
8 kde-apps/kgamma: add patch to solve build failure with >=dev-util/cmake-3.4.0
9
10 Gentoo-bug: 566814
11
12 Package-Manager: portage-2.2.26
13
14 kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch | 16 ++++++++++++++++
15 kde-apps/kgamma/kgamma-4.14.3.ebuild | 2 ++
16 2 files changed, 18 insertions(+)
17
18 diff --git a/kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch b/kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch
19 new file mode 100644
20 index 0000000..4aa0969
21 --- /dev/null
22 +++ b/kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch
23 @@ -0,0 +1,16 @@
24 +Fix build with >=cmake-3.4
25 +
26 +Gentoo-bug: 566814
27 +
28 +diff --git a/CMakeLists.txt b/CMakeLists.txt
29 +index 6f8a16f..8565f88 100644
30 +--- a/CMakeLists.txt
31 ++++ b/CMakeLists.txt
32 +@@ -3,6 +3,7 @@ project(kgamma)
33 + find_package(KDE4 REQUIRED)
34 + include(KDE4Defaults)
35 + include(MacroLibrary)
36 ++include(CheckIncludeFiles)
37 +
38 + find_package(X11 REQUIRED)
39 +
40
41 diff --git a/kde-apps/kgamma/kgamma-4.14.3.ebuild b/kde-apps/kgamma/kgamma-4.14.3.ebuild
42 index d01b422..50dfbd2 100644
43 --- a/kde-apps/kgamma/kgamma-4.14.3.ebuild
44 +++ b/kde-apps/kgamma/kgamma-4.14.3.ebuild
45 @@ -17,3 +17,5 @@ RDEPEND="
46 DEPEND="${RDEPEND}
47 x11-proto/xf86vidmodeproto
48 "
49 +
50 +PATCHES=( "${FILESDIR}/${P}-cmake34.patch" )