From: Akinori Hattori Date: Sat, 18 Aug 2018 02:01:16 +0000 (+0900) Subject: x11-misc/qterm: fix build with Qt 5.11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b26a5c5481d595475afb5df897f9057e6df71dc;p=gentoo.git x11-misc/qterm: fix build with Qt 5.11 Closes: https://bugs.gentoo.org/663352 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- diff --git a/x11-misc/qterm/files/qterm-0.7.1-headers.patch b/x11-misc/qterm/files/qterm-0.7.1-headers.patch new file mode 100644 index 000000000000..c442c0ac8b30 --- /dev/null +++ b/x11-misc/qterm/files/qterm-0.7.1-headers.patch @@ -0,0 +1,40 @@ +--- a/src/keydialog.h ++++ b/src/keydialog.h +@@ -10,6 +10,7 @@ + #ifndef KEYDIALOG_H + #define KEYDIALOG_H + ++#include + #include "ui_keydialog.h" + namespace QTerm + { +--- a/src/soundconf.h ++++ b/src/soundconf.h +@@ -1,6 +1,7 @@ + #ifndef SOUNDCONF_H + #define SOUNDCONF_H + ++#include + #include "ui_soundconf.h" + namespace QTerm + { +--- a/src/shortcutsdialog.cpp ++++ b/src/shortcutsdialog.cpp +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + + namespace QTerm { + +--- a/src/shortcutsdialog.h ++++ b/src/shortcutsdialog.h +@@ -3,6 +3,7 @@ + + #include "ui_shortcutsdialog.h" + class QShortcut; ++class QAction; + + namespace QTerm{ + diff --git a/x11-misc/qterm/qterm-0.7.1.ebuild b/x11-misc/qterm/qterm-0.7.1.ebuild index 2273e5d30691..daf1248d0cbe 100644 --- a/x11-misc/qterm/qterm-0.7.1.ebuild +++ b/x11-misc/qterm/qterm-0.7.1.ebuild @@ -30,6 +30,7 @@ DEPEND="${RDEPEND} dev-qt/qthelp:5 x11-base/xorg-proto" +PATCHES=( "${FILESDIR}"/${P}-headers.patch ) DOCS=( README.rst RELEASE_NOTES TODO ) src_prepare() {