summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-11-27 03:22:52 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-11-27 03:23:17 +1100
commitd44be9b34321798058970dd8c282644978a671b4 (patch)
treea5d121cd706233b8a5e272e19919dbf386d4e1e7 /kde-apps
parentapp-misc/bijiben: add missing gdbus-codegen dependency (diff)
downloadgentoo-d44be9b34321798058970dd8c282644978a671b4.tar.gz
gentoo-d44be9b34321798058970dd8c282644978a671b4.tar.bz2
gentoo-d44be9b34321798058970dd8c282644978a671b4.zip
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
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kgamma/files/kgamma-4.14.3-cmake34.patch16
-rw-r--r--kde-apps/kgamma/kgamma-4.14.3.ebuild2
2 files changed, 18 insertions, 0 deletions
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" )