From e1d8e4d5bca55a01ccfce86415d019d6d3d1bf264d143cf22a1e613e0f91bc20 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 24 Feb 2016 11:49:16 +0000 Subject: [PATCH] - OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaffeine?expand=0&rev=8 --- kaffeine-cmake34.patch | 13 +++++++++++++ kaffeine.changes | 6 ++++++ kaffeine.spec | 5 ++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 kaffeine-cmake34.patch diff --git a/kaffeine-cmake34.patch b/kaffeine-cmake34.patch new file mode 100644 index 0000000..f48952c --- /dev/null +++ b/kaffeine-cmake34.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d803558..a94b676 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -11,6 +11,8 @@ if(DEFINED QT_VERSION_MAJOR) + add_definitions(-DQT_STRICT_ITERATORS) + endif(DEFINED QT_VERSION_MAJOR) + ++include(CheckIncludeFiles) ++ + check_include_files(${CMAKE_CURRENT_SOURCE_DIR}/include/frontend.h HAVE_DVB) + + if(NOT HAVE_DVB) diff --git a/kaffeine.changes b/kaffeine.changes index 780f85f..2af8ab9 100644 --- a/kaffeine.changes +++ b/kaffeine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 24 11:47:17 UTC 2016 - cgiboudeaux@gmx.com + +- Add kaffeine-cmake34.patch. Include files containing the + functions used by the build system. + ------------------------------------------------------------------- Wed Jan 6 13:43:54 UTC 2016 - wbauer@tmo.at diff --git a/kaffeine.spec b/kaffeine.spec index a679545..f03ffc7 100644 --- a/kaffeine.spec +++ b/kaffeine.spec @@ -1,7 +1,7 @@ # # spec file for package kaffeine # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,6 +43,8 @@ Patch6: crash-on-resume-fix.patch Patch7: kaffeine-gcc47.patch # PATCH-FEATURE-UPSTREAM support_for_sundtek_tv_tuners.patch boo#827097 -- Add support for Sundtek DVB Devices Patch8: support_for_sundtek_tv_tuners.patch +#PATCH-FIX-UPSTREAM kaffeine-cmake34.patch -- Include files containing the functions used by the build system +Patch9: kaffeine-cmake34.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libkde4-devel @@ -79,6 +81,7 @@ and Ogg Vorbis. It also handles Video CDs, DVDs, and DVB cards. %patch6 -p1 %patch7 %patch8 -p1 +%patch9 -p1 %build %cmake_kde4 -d build