From a7af313cc74ded1adfcb3d501fd046a268f0ae46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 4 Oct 2019 10:25:35 +0200 Subject: [PATCH] - fix cmake deps - rel 4 --- cmake.patch | 10 ++++++++++ kde4-kgamma.spec | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 cmake.patch diff --git a/cmake.patch b/cmake.patch new file mode 100644 index 0000000..1faf308 --- /dev/null +++ b/cmake.patch @@ -0,0 +1,10 @@ +--- kgamma-4.14.3/CMakeLists.txt~ 2014-10-09 09:07:16.000000000 +0200 ++++ kgamma-4.14.3/CMakeLists.txt 2019-10-04 10:24:50.138865040 +0200 +@@ -3,6 +3,7 @@ + find_package(KDE4 REQUIRED) + include(KDE4Defaults) + include(MacroLibrary) ++include(CheckIncludeFiles) + + find_package(X11 REQUIRED) + diff --git a/kde4-kgamma.spec b/kde4-kgamma.spec index d0a0223..57c341c 100644 --- a/kde4-kgamma.spec +++ b/kde4-kgamma.spec @@ -6,11 +6,12 @@ Summary: A monitor calibration tool Summary(pl.UTF-8): Narzędzie do kalibracji monitora Name: kde4-kgamma Version: 4.14.3 -Release: 3 +Release: 4 License: GPL Group: X11/Applications/Graphics Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz # Source0-md5: e21627473d1c21e0d2ba129c01d1216d +Patch0: cmake.patch URL: http://www.kde.org/ BuildRequires: cmake >= 2.8.0 BuildRequires: kde4-kdelibs-devel >= %{version} @@ -26,6 +27,7 @@ Narzędzie do kalibracji monitora. %prep %setup -q -n %{orgname}-%{version} +%patch0 -p1 %build install -d build -- 2.44.0