[packages/kde4-kgamma] - fix cmake deps - rel 4

baggins baggins at pld-linux.org
Fri Oct 4 10:26:53 CEST 2019


commit a7af313cc74ded1adfcb3d501fd046a268f0ae46
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 4 10:25:35 2019 +0200

    - fix cmake deps
    - rel 4

 cmake.patch      | 10 ++++++++++
 kde4-kgamma.spec |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
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
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)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kgamma.git/commitdiff/a7af313cc74ded1adfcb3d501fd046a268f0ae46



More information about the pld-cvs-commit mailing list