colord-kde: fix build

This commit is contained in:
Nikolay Amiantov 2016-03-11 02:31:47 +03:00
parent cf9ddb27d6
commit 4ebc7f74f7
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,9 @@ stdenv.mkDerivation {
buildInputs = [ colord libX11 libXrandr lcms2 kdelibs ];
patches = [ ./fix_check_include_files.patch ];
patchFlags = [ "-p0" ];
enableParallelBuilding = true;
meta = {

View File

@ -0,0 +1,9 @@
--- CMakeLists.txt.orig 2013-05-01 05:04:34.000000000 +1000
+++ CMakeLists.txt 2015-12-10 20:43:51.351800988 +1100
@@ -9,6 +9,7 @@
include(FindPkgConfig)
include(KDE4Defaults)
+include(CheckIncludeFiles)
include(ConfigureChecks.cmake)
message(STATUS "X randr is required, found: " ${XRANDR_1_3_FOUND})