From 3160bb01ac882100d6a3a5288f9c6b017cdd4ef5 Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Thu, 26 Nov 2015 14:38:07 +0000 Subject: [PATCH] Add upstream commit to make the port build with the upcoming CMake 3.4.0. --- multimedia/kaffeine/files/patch-git_4a1a90e | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 multimedia/kaffeine/files/patch-git_4a1a90e diff --git a/multimedia/kaffeine/files/patch-git_4a1a90e b/multimedia/kaffeine/files/patch-git_4a1a90e new file mode 100644 index 000000000000..85fbea75aaa5 --- /dev/null +++ b/multimedia/kaffeine/files/patch-git_4a1a90e @@ -0,0 +1,19 @@ +commit 4a1a90ee1b2b4d13302046f043adf1c2a1de758d +Author: Raphael Kubo da Costa +Date: Thu Nov 26 15:36:26 2015 +0100 + + Explicitly include CheckIncludeFiles. + + This fixes the build with CMake 3.4.0. We were calling check_include_files() + and implicitly relying on CheckIncludeFiles being included. + +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -21,6 +21,7 @@ if(STRICT_BUILD) + -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS) + endif(STRICT_BUILD) + ++include(CheckIncludeFiles) + check_include_files(${CMAKE_CURRENT_SOURCE_DIR}/include/frontend.h HAVE_DVB) + + if(NOT HAVE_DVB)