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:
parent
fa14635e76
commit
fc82273776
16
fix-build-with-Qt5.11.patch
Normal file
16
fix-build-with-Qt5.11.patch
Normal 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>
|
@ -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
|
||||
|
||||
|
3
lyx.spec
3
lyx.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user