Hello community, here is the log from the commit of package chessx for openSUSE:Factory checked in at 2018-06-19 11:55:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chessx (Old) and /work/SRC/openSUSE:Factory/.chessx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chessx" Tue Jun 19 11:55:13 2018 rev:5 rq:616006 version:1.4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/chessx/chessx.changes 2017-04-24 09:48:10.389139209 +0200 +++ /work/SRC/openSUSE:Factory/.chessx.new/chessx.changes 2018-06-19 11:55:16.580716249 +0200 @@ -1,0 +2,5 @@ +Mon Jun 11 11:18:48 UTC 2018 - aloi...@gmx.com + +- Added chessx-Qt511.patch to fix build failure with Qt 5.11 + +------------------------------------------------------------------- New: ---- chessx-Qt511.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chessx.spec ++++++ --- /var/tmp/diff_new_pack.EYTUxB/_old 2018-06-19 11:55:17.380686548 +0200 +++ /var/tmp/diff_new_pack.EYTUxB/_new 2018-06-19 11:55:17.384686401 +0200 @@ -1,7 +1,7 @@ # # spec file for package chessx # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,10 +20,12 @@ Version: 1.4.6 Release: 0 Summary: Chess database -License: GPL-2.0 +License: GPL-2.0-only Group: Amusements/Games/Board/Chess Url: http://chessx.sourceforge.net Source0: http://sourceforge.net/projects/chessx/files/chessx/%{version}/chessx-%{version}.tgz +# PATCH-FIX-UPSTREAM chessx-Qt511.patch +Patch0: %{name}-Qt511.patch BuildRequires: fdupes BuildRequires: libqt5-linguist BuildRequires: libqt5-qtbase-common-devel @@ -54,6 +56,7 @@ %prep %setup -q +%patch0 -p1 %build lrelease-qt5 i18n/* ++++++ chessx-Qt511.patch ++++++ From: Luigi Baldoni <aloi...@gmx.com> Date: 2018-06-18 13:16:31 +0200 Subject: Add missing include statements References: https://sourceforge.net/p/chessx/bugs/254 Upstream: submitted A few explicit include statements are required with Qt 5.11 --- Index: chessx-1.4.6/src/gui/gamewindow.cpp =================================================================== --- chessx-1.4.6.orig/src/gui/gamewindow.cpp +++ chessx-1.4.6/src/gui/gamewindow.cpp @@ -9,6 +9,7 @@ #include "settings.h" #include <QToolButton> +#include <QAction> #if defined(_MSC_VER) && defined(_DEBUG) #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) Index: chessx-1.4.6/src/dialogs/savedialog.cpp =================================================================== --- chessx-1.4.6.orig/src/dialogs/savedialog.cpp +++ chessx-1.4.6/src/dialogs/savedialog.cpp @@ -24,6 +24,7 @@ #include <QLineEdit> #include <QCompleter> +#include <QButtonGroup> #if defined(_MSC_VER) && defined(_DEBUG) #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ ) Index: chessx-1.4.6/src/dialogs/preferences.cpp =================================================================== --- chessx-1.4.6.orig/src/dialogs/preferences.cpp +++ chessx-1.4.6/src/dialogs/preferences.cpp @@ -33,6 +33,7 @@ #include <QFileDialog> #include <QDesktopServices> #include <QTextStream> +#include <QAction> #if defined(_MSC_VER) && defined(_DEBUG) #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )