summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-08-18 11:01:16 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-08-18 11:01:16 +0900
commit7b26a5c5481d595475afb5df897f9057e6df71dc (patch)
tree71c17246ba3be8b558a789dc80959596b2c73221 /x11-misc/qterm
parentx11-misc/qterm: tidy (diff)
downloadgentoo-7b26a5c5481d595475afb5df897f9057e6df71dc.tar.gz
gentoo-7b26a5c5481d595475afb5df897f9057e6df71dc.tar.bz2
gentoo-7b26a5c5481d595475afb5df897f9057e6df71dc.zip
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
Diffstat (limited to 'x11-misc/qterm')
-rw-r--r--x11-misc/qterm/files/qterm-0.7.1-headers.patch40
-rw-r--r--x11-misc/qterm/qterm-0.7.1.ebuild1
2 files changed, 41 insertions, 0 deletions
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 <QButtonGroup>
+ #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 <QButtonGroup>
+ #include "ui_soundconf.h"
+ namespace QTerm
+ {
+--- a/src/shortcutsdialog.cpp
++++ b/src/shortcutsdialog.cpp
+@@ -3,6 +3,7 @@
+ #include <QKeyEvent>
+ #include <QMessageBox>
+ #include <QShortcut>
++#include <QAction>
+
+ 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() {