[packages/kde4-kuser] - fix cmake deps - rel 3

baggins baggins at pld-linux.org
Fri Oct 4 10:20:46 CEST 2019


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

    - fix cmake deps
    - rel 3

 cmake.patch     | 10 ++++++++++
 kde4-kuser.spec |  5 ++++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/kde4-kuser.spec b/kde4-kuser.spec
index 6684eca..764d3f6 100644
--- a/kde4-kuser.spec
+++ b/kde4-kuser.spec
@@ -11,11 +11,12 @@ Summary(pl.UTF-8):	Administracja kontami dla KDE
 Summary(pt_BR.UTF-8):	Ferramenta para administração de usuários
 Name:		kde4-%{orgname}
 Version:	4.14.3
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
 # Source0-md5:	c3a5608b81a1a15f0bdbb2d2c3a39d25
+Patch0:		cmake.patch
 URL:		http://www.kde.org/
 BuildRequires:	automoc4 >= 0.9.88
 BuildRequires:	cmake >= 2.8.0
@@ -46,8 +47,10 @@ Ferramenta para administração de usuários do sistema.
 
 %prep
 %setup -q -n %{orgname}-%{version}
+%patch0 -p1
 
 %build
+#export CXXFLAGS="%{rpmcxxflags} -std=gnu++98"
 install -d build
 cd build
 %cmake \
diff --git a/cmake.patch b/cmake.patch
new file mode 100644
index 0000000..4788b58
--- /dev/null
+++ b/cmake.patch
@@ -0,0 +1,10 @@
+--- kuser-4.14.3/CMakeLists.txt~	2013-08-04 06:22:20.000000000 +0200
++++ kuser-4.14.3/CMakeLists.txt	2019-10-04 10:18:39.902210587 +0200
+@@ -4,6 +4,7 @@
+ find_package(KDE4 REQUIRED)
+ include (KDE4Defaults)
+ include (MacroLibrary)
++include(CheckIncludeFiles)
+ 
+ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+ add_definitions( -DQT_NO_CAST_FROM_ASCII )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kuser.git/commitdiff/e20126c16dfaa4e5325080eebfc9f8b0e0fe27e5



More information about the pld-cvs-commit mailing list