From: Andreas Sturmlechner Date: Fri, 30 Mar 2018 18:03:13 +0000 (+0200) Subject: app-office/lyx: Fix build with Qt 5.11 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=07e82fd1fc07bf055c78b81eaa128f8f837da80d;p=gentoo.git app-office/lyx: Fix build with Qt 5.11 Bug: https://bugs.gentoo.org/631798 Package-Manager: Portage-2.3.27, Repoman-2.3.9 --- diff --git a/app-office/lyx/files/lyx-2.3.0-qt-5.11.patch b/app-office/lyx/files/lyx-2.3.0-qt-5.11.patch new file mode 100644 index 000000000000..6f1848142bb3 --- /dev/null +++ b/app-office/lyx/files/lyx-2.3.0-qt-5.11.patch @@ -0,0 +1,16 @@ +--- a/src/frontends/qt4/GuiDocument.cpp 2018-02-25 01:11:18.000000000 +0100 ++++ b/src/frontends/qt4/GuiDocument.cpp 2018-03-30 19:45:47.283928297 +0200 +@@ -68,11 +68,12 @@ + #include "frontends/alert.h" + + #include +-#include ++#include + #include + #include + #include + #include ++#include + #include + #include + #include diff --git a/app-office/lyx/lyx-2.3.0.ebuild b/app-office/lyx/lyx-2.3.0.ebuild index a492d69d8b52..ad0929130f0c 100644 --- a/app-office/lyx/lyx-2.3.0.ebuild +++ b/app-office/lyx/lyx-2.3.0.ebuild @@ -76,7 +76,10 @@ DEPEND="${RDEPEND} DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING ) -PATCHES=( "${FILESDIR}"/${P}-python.patch ) +PATCHES=( + "${FILESDIR}"/${P}-python.patch + "${FILESDIR}"/${P}-qt-5.11.patch +) S="${WORKDIR}/${MY_P}"