summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-12-26 04:19:09 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-12-26 04:22:07 +1100
commit590c1cbfed77e4c7198be6968ed4ed52e89e2e66 (patch)
tree996b50790240e101f1965384ea93a277b1e95f0a /kde-misc
parentdev-perl/IO-AIO: leave comment about test failures (diff)
downloadgentoo-590c1cbfed77e4c7198be6968ed4ed52e89e2e66.tar.gz
gentoo-590c1cbfed77e4c7198be6968ed4ed52e89e2e66.tar.bz2
gentoo-590c1cbfed77e4c7198be6968ed4ed52e89e2e66.zip
kde-misc/colord-kde: fix build with >=dev-util/cmake-3.4
Gentoo-bug: 569602 Package-Manager: portage-2.2.26
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/colord-kde/colord-kde-0.3.0.ebuild2
-rw-r--r--kde-misc/colord-kde/files/colord-kde-0.3.0-cmake34.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/kde-misc/colord-kde/colord-kde-0.3.0.ebuild b/kde-misc/colord-kde/colord-kde-0.3.0.ebuild
index e0596cded20..c348cc7374b 100644
--- a/kde-misc/colord-kde/colord-kde-0.3.0.ebuild
+++ b/kde-misc/colord-kde/colord-kde-0.3.0.ebuild
@@ -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
diff --git a/kde-misc/colord-kde/files/colord-kde-0.3.0-cmake34.patch b/kde-misc/colord-kde/files/colord-kde-0.3.0-cmake34.patch
new file mode 100644
index 00000000000..671482dc191
--- /dev/null
+++ b/kde-misc/colord-kde/files/colord-kde-0.3.0-cmake34.patch
@@ -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)
+