Hello community, here is the log from the commit of package lyx for openSUSE:Factory checked in at 2018-06-08 23:14:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lyx (Old) and /work/SRC/openSUSE:Factory/.lyx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lyx" Fri Jun 8 23:14:52 2018 rev:87 rq:614363 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lyx/lyx.changes 2018-02-27 17:00:19.630905586 +0100 +++ /work/SRC/openSUSE:Factory/.lyx.new/lyx.changes 2018-06-08 23:15:00.701047443 +0200 @@ -1,0 +2,5 @@ +Tue Jun 5 12:58:58 UTC 2018 - wba...@tmo.at + +- Added fix-build-with-Qt5.11.patch to fix build with Qt 5.11 + +------------------------------------------------------------------- New: ---- fix-build-with-Qt5.11.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lyx.spec ++++++ --- /var/tmp/diff_new_pack.7QZey5/_old 2018-06-08 23:15:02.024999628 +0200 +++ /var/tmp/diff_new_pack.7QZey5/_new 2018-06-08 23:15:02.024999628 +0200 @@ -27,6 +27,8 @@ Source1: lyxrc.dist Source2: lyx.keyring Source3: ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/lyx-%{version}.tar.xz.sig +# PATCH-FIX-UPSTREAM fix-build-with-Qt5.11.patch -- fixes compilation with Qt 5.11 +Patch: fix-build-with-Qt5.11.patch #!BuildIgnore: lyx BuildRequires: autoconf BuildRequires: automake @@ -112,6 +114,7 @@ %prep %setup -q +%patch -p0 %build #./autogen.sh ++++++ fix-build-with-Qt5.11.patch ++++++ Index: src/frontends/qt4/GuiDocument.cpp =================================================================== --- src/frontends/qt4/GuiDocument.cpp (revision b4d885ac6968df4a705d395069ea2310f10c122b) +++ src/frontends/qt4/GuiDocument.cpp (revision 1a4404944bf5830164435b0dedb6f6bee9c7371b) @@ -69,9 +69,10 @@ #include <QAbstractItemModel> -#include <QHeaderView> +#include <QButtonGroup> #include <QColor> #include <QColorDialog> #include <QCloseEvent> #include <QFontDatabase> +#include <QHeaderView> #include <QScrollBar> #include <QTextBoundaryFinder>