--- /dev/null
+--- 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)
+
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}
%prep
%setup -q -n %{orgname}-%{version}
+%patch0 -p1
%build
install -d build