From 53c95859065f2d35347b5108975b861854778159f3701b65570e1a08a0df93ab Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 6 Mar 2016 16:49:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kinfocenter5?expand=0&rev=93 --- fix-build.patch | 27 +++++++++++++++++++++++++++ kinfocenter5.spec | 3 +++ 2 files changed, 30 insertions(+) create mode 100644 fix-build.patch diff --git a/fix-build.patch b/fix-build.patch new file mode 100644 index 0000000..65a8efc --- /dev/null +++ b/fix-build.patch @@ -0,0 +1,27 @@ +From: David Edmundson +Date: Wed, 02 Mar 2016 14:25:41 +0000 +Subject: Fix build +X-Git-Url: http://quickgit.kde.org/?p=kinfocenter.git&a=commitdiff&h=b4994c307ce86b52e20c4afb35ff2eaf12bfd8f1 +--- +Fix build +--- + + +--- a/Modules/about-distro/src/Module.cpp ++++ b/Modules/about-distro/src/Module.cpp +@@ -24,6 +24,7 @@ + #include + #include + ++#include + #include + #if KCOREADDONS_VERSION >= QT_VERSION_CHECK(5,20,0) + #include +@@ -34,7 +35,6 @@ + #include + #include + #include +-#include + + #include + #include diff --git a/kinfocenter5.spec b/kinfocenter5.spec index 80d1097..f56df43 100644 --- a/kinfocenter5.spec +++ b/kinfocenter5.spec @@ -28,6 +28,8 @@ Source: kinfocenter-%{version}.tar.xz Source99: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE plasma-session-name.patch Patch0: plasma-session-name.patch +# PATCH-FIX-UPSTREAM fix-build.patch +Patch1: fix-build.patch BuildRequires: extra-cmake-modules >= 1.2.0 BuildRequires: kf5-filesystem BuildRequires: libraw1394-devel @@ -79,6 +81,7 @@ KDE Utility that provides information about a computer system. %prep %setup -q -n kinfocenter-%{version} %patch0 -p1 +%patch1 -p1 %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5