Accepting request 614340 from home:wolfi323:branches:Publishing

- Added fix-build-with-Qt5.11.patch to fix build with Qt 5.11

OBS-URL: https://build.opensuse.org/request/show/614340
OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=144
This commit is contained in:
Martin Pluskal 2018-06-05 17:26:28 +00:00 committed by Git OBS Bridge
parent fa14635e76
commit fc82273776
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,16 @@
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>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 5 12:58:58 UTC 2018 - wbauer@tmo.at
- Added fix-build-with-Qt5.11.patch to fix build with Qt 5.11
-------------------------------------------------------------------
Tue Feb 27 09:40:37 UTC 2018 - cornelis@solcon.nl

View File

@ -27,6 +27,8 @@ Source: ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/lyx-%{version}.tar.xz
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 @@ document under "Help" on the menubar.
%prep
%setup -q
%patch -p0
%build
#./autogen.sh