Hello community, here is the log from the commit of package librecad for openSUSE:Factory checked in at 2018-06-19 11:55:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librecad (Old) and /work/SRC/openSUSE:Factory/.librecad.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librecad" Tue Jun 19 11:55:47 2018 rev:21 rq:616224 version:2.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/librecad/librecad.changes 2017-02-07 12:02:10.376609663 +0100 +++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes 2018-06-19 11:55:50.139470339 +0200 @@ -1,0 +2,5 @@ +Mon Jun 11 09:02:23 UTC 2018 - [email protected] + +- add fix-build-with-Qt-5.11.patch + +------------------------------------------------------------------- New: ---- fix-build-with-Qt-5.11.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librecad.spec ++++++ --- /var/tmp/diff_new_pack.GRuziV/_old 2018-06-19 11:55:51.199430987 +0200 +++ /var/tmp/diff_new_pack.GRuziV/_new 2018-06-19 11:55:51.199430987 +0200 @@ -35,6 +35,7 @@ Source10: ttf2lff.1 Source20: %name-rpmlintrc Patch0: ensured-all-objects-are-shown-when-a-layer-is-toggle.patch +Patch1: fix-build-with-Qt-5.11.patch Patch2: librecad-no-date.diff Patch3: librecad-use-system-libdxfrw.patch Patch4: librecad-install.diff @@ -92,7 +93,7 @@ %prep %setup -qn LibreCAD-%version -a 2 -a 3 -a 4 -%patch -P 0 -P 2 -P 3 -P 4 -P 5 -p1 +%patch -P 0 -P 1 -P 2 -P 3 -P 4 -P 5 -p1 %if 0%{?suse_version} >= 1321 %patch -P 6 -p1 %endif ++++++ fix-build-with-Qt-5.11.patch ++++++ >From 6c392e903e162b9283e88f53006e929663f2e883 Mon Sep 17 00:00:00 2001 From: Jiri Slaby <[email protected]> Date: Mon, 11 Jun 2018 10:44:00 +0200 Subject: [PATCH] fix build with Qt 5.11 The new Qt removed some implicit inclusions of headers. To avoid build errors, add explicit includes of those we use in the sources. Signed-off-by: Jiri Slaby <[email protected]> --- librecad/src/ui/forms/qg_commandwidget.cpp | 1 + librecad/src/ui/generic/widgetcreator.cpp | 2 ++ 2 files changed, 3 insertions(+) --- a/librecad/src/ui/forms/qg_commandwidget.cpp +++ b/librecad/src/ui/forms/qg_commandwidget.cpp @@ -24,6 +24,7 @@ ** **********************************************************************/ #include "qg_commandwidget.h" +#include <QAction> #include <QKeyEvent> #include <algorithm> --- a/librecad/src/ui/generic/widgetcreator.cpp +++ b/librecad/src/ui/generic/widgetcreator.cpp @@ -27,6 +27,8 @@ #include "widgetcreator.h" #include "ui_widgetcreator.h" +#include <QAction> +#include <QActionGroup> #include <QSettings> #include <QLineEdit> #include <QPushButton>
