[packages/kde4-kdeartwork] - fix cnake deps

baggins baggins at pld-linux.org
Fri Oct 4 10:29:24 CEST 2019


commit 9c389ecf78e84eca644f4a87226ab9c43591b6f0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 4 10:28:20 2019 +0200

    - fix cnake deps

 cmake.patch          | 10 ++++++++++
 kde4-kdeartwork.spec |  3 +++
 2 files changed, 13 insertions(+)
---
diff --git a/kde4-kdeartwork.spec b/kde4-kdeartwork.spec
index 2ba4944..5530c1a 100644
--- a/kde4-kdeartwork.spec
+++ b/kde4-kdeartwork.spec
@@ -14,6 +14,7 @@ Source0:	http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.
 # Source0-md5:	444c3fea54711a840bca705ea90c8cb2
 Patch0:		%{name}-findxscreensaver.patch
 Patch1:		%{name}-crystalsvg-hicolor.patch
+Patch2:		cmake.patch
 URL:		http://www.kde.org/
 BuildRequires:	OpenGL-devel
 BuildRequires:	Qt3Support-devel >= %{qtver}
@@ -242,8 +243,10 @@ widocznymi, cienkimi krawędziami.
 %setup -q -n %{orgname}-%{version}
 %patch0 -p0
 #%patch1 -p0
+%patch2 -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..9498ee8
--- /dev/null
+++ b/cmake.patch
@@ -0,0 +1,10 @@
+--- kdeartwork-4.14.3/CMakeLists.txt~	2013-10-18 18:04:24.000000000 +0200
++++ kdeartwork-4.14.3/CMakeLists.txt	2019-10-04 10:26:44.792194619 +0200
+@@ -6,6 +6,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-kdeartwork.git/commitdiff/9c389ecf78e84eca644f4a87226ab9c43591b6f0



More information about the pld-cvs-commit mailing list