summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2019-10-04 08:19:30 (GMT)
committerJan Rękorajski2019-10-04 08:19:46 (GMT)
commite20126c16dfaa4e5325080eebfc9f8b0e0fe27e5 (patch)
tree7c2e4a7ef513bcea1ebf7bc9606e0ed14d070bd6
parent9b424356edc5ac7d963714bc5db814ec12720120 (diff)
downloadkde4-kuser-e20126c16dfaa4e5325080eebfc9f8b0e0fe27e5.zip
kde4-kuser-e20126c16dfaa4e5325080eebfc9f8b0e0fe27e5.tar.gz
- rel 3
-rw-r--r--cmake.patch10
-rw-r--r--kde4-kuser.spec5
2 files changed, 14 insertions, 1 deletions
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 )
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 \