From 9c742dcf675b058787412da460cc2deeba13986c8dae27378986ea3fa13ba2b2 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Mon, 12 Aug 2019 08:27:31 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kexi?expand=0&rev=17 --- Fix-build-with-Qt-5_13.patch | 20 ++++++++++++++++++++ kexi.changes | 5 +++++ kexi.spec | 4 +++- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 Fix-build-with-Qt-5_13.patch diff --git a/Fix-build-with-Qt-5_13.patch b/Fix-build-with-Qt-5_13.patch new file mode 100644 index 0000000..d95a31d --- /dev/null +++ b/Fix-build-with-Qt-5_13.patch @@ -0,0 +1,20 @@ +commit 511d99b7745a6ce87a208bdbf69e631f1f136d53 +Author: Luca Beltrame +Date: Sun Jul 21 09:07:44 2019 +0200 + + Fix build with Qt 5.13 + + The QDate include is no longer included transitively. + +diff --git a/src/plugins/forms/widgets/kexidbdatepicker.cpp b/src/plugins/forms/widgets/kexidbdatepicker.cpp +index 1e0692d5b..92a5c880b 100644 +--- a/src/plugins/forms/widgets/kexidbdatepicker.cpp ++++ b/src/plugins/forms/widgets/kexidbdatepicker.cpp +@@ -22,6 +22,7 @@ + #include "kexidbdatepicker.h" + #include + ++#include + #include + #include + diff --git a/kexi.changes b/kexi.changes index f07e9ed..2824533 100644 --- a/kexi.changes +++ b/kexi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 12 08:26:44 UTC 2019 - Christophe Giboudeaux + +- Add Fix-build-with-Qt-5_13.patch + ------------------------------------------------------------------- Thu Apr 11 12:09:19 UTC 2019 - wbauer@tmo.at diff --git a/kexi.spec b/kexi.spec index f3d9f2d..cf894cf 100644 --- a/kexi.spec +++ b/kexi.spec @@ -26,6 +26,8 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GFDL-1.2-only Group: Productivity/Office/Suite URL: http://www.kexi-project.org/ Source0: https://download.kde.org/stable/%{name}/src/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch0: Fix-build-with-Qt-5_13.patch BuildRequires: breeze5-icons BuildRequires: extra-cmake-modules BuildRequires: glib2-devel @@ -94,7 +96,7 @@ This package contains a Spreadsheet-to-Kexi-table import plugin. %lang_package %prep -%setup -q +%autosetup -p1 %build # install translations to %{_kf5_localedir} so they don't clash with the kexi translations in calligra-l10n (KDE4 based)