From c59dc58b3d665c06bdf3a67b19b963bf1786dd3abe24a590eb0364fd993b52ec Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Mon, 12 Aug 2019 09:08:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/tellico?expand=0&rev=50 --- Fix-build-with-Qt-5_13.patch | 20 ++++++++++++++++++++ tellico.changes | 5 +++++ tellico.spec | 5 +++-- 3 files changed, 28 insertions(+), 2 deletions(-) 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..97a94df --- /dev/null +++ b/Fix-build-with-Qt-5_13.patch @@ -0,0 +1,20 @@ +commit 43851a0a655a3a961f289087bdea989aa32cc028 +Author: Luca Beltrame +Date: Sun Jul 21 09:21:16 2019 +0200 + + Fix build with Qt 5.13 + + (cherry picked from commit 43e6bbb4721adc83d8b2a77bd51d9efaf7aefd6b) + +diff --git a/src/gui/datewidget.cpp b/src/gui/datewidget.cpp +index 724370e2..e6502bb0 100644 +--- a/src/gui/datewidget.cpp ++++ b/src/gui/datewidget.cpp +@@ -35,6 +35,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/tellico.changes b/tellico.changes index 06c6e2a..5ebf3ad 100644 --- a/tellico.changes +++ b/tellico.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 12 09:07:26 UTC 2019 - Christophe Giboudeaux + +- Add Fix-build-with-Qt-5_13.patch + ------------------------------------------------------------------- Wed Jul 10 11:21:14 UTC 2019 - wbauer@tmo.at diff --git a/tellico.spec b/tellico.spec index 157eea9..afa7857 100644 --- a/tellico.spec +++ b/tellico.spec @@ -24,6 +24,7 @@ License: GPL-2.0-or-later Group: Productivity/Office/Other URL: http://tellico-project.org/ Source0: http://tellico-project.org/files/%{name}-%{version}.tar.xz +Patch0: Fix-build-with-Qt-5_13.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: libcdio-devel @@ -79,7 +80,7 @@ stamps, trading cards, comic books, and wines. %lang_package %prep -%setup -q +%autosetup -p1 %build %cmake_kf5 "-DENABLE_WEBCAM=true" -d build @@ -93,7 +94,7 @@ stamps, trading cards, comic books, and wines. %endif %find_lang %{name} -%kf5_find_htmldocs +%{kf5_find_htmldocs} %{kf5_post_install}