Date: Monday, December 7, 2015 @ 16:48:16 Author: fyan Revision: 149999
fix missing CheckIncludeFiles include Added: kaffeine/trunk/include-CheckIncludeFiles.patch Modified: kaffeine/trunk/PKGBUILD ---------------------------------+ PKGBUILD | 9 +++++++-- include-CheckIncludeFiles.patch | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-12-07 15:47:36 UTC (rev 149998) +++ PKGBUILD 2015-12-07 15:48:16 UTC (rev 149999) @@ -12,11 +12,16 @@ depends=(kdebase-runtime vlc) makedepends=(cmake automoc4) install=kaffeine.install -source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz) -md5sums=('f2308cf7abf5ec7ad5c724593594c198') +source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz + include-CheckIncludeFiles.patch) +md5sums=('f2308cf7abf5ec7ad5c724593594c198' + '1deeb1bff0e9ed705a9fc0552487ae2c') prepare() { mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../include-CheckIncludeFiles.patch } build() { Added: include-CheckIncludeFiles.patch =================================================================== --- include-CheckIncludeFiles.patch (rev 0) +++ include-CheckIncludeFiles.patch 2015-12-07 15:48:16 UTC (rev 149999) @@ -0,0 +1,23 @@ +From 4a1a90ee1b2b4d13302046f043adf1c2a1de758d Mon Sep 17 00:00:00 2001 +From: Raphael Kubo da Costa <[email protected]> +Date: Thu, 26 Nov 2015 15:36:26 +0100 +Subject: [PATCH] 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 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d9be8db..b74b44d 100644 +--- a/CMakeLists.txt ++++ b/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)
