Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/qterm/files/, x11-misc/qterm/
Date: Sat, 18 Aug 2018 02:10:01
Message-Id: 1534557676.7b26a5c5481d595475afb5df897f9057e6df71dc.hattya@gentoo
1 commit: 7b26a5c5481d595475afb5df897f9057e6df71dc
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 18 02:01:16 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 18 02:01:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b26a5c5
7
8 x11-misc/qterm: fix build with Qt 5.11
9
10 Closes: https://bugs.gentoo.org/663352
11 Package-Manager: Portage-2.3.40, Repoman-2.3.9
12
13 x11-misc/qterm/files/qterm-0.7.1-headers.patch | 40 ++++++++++++++++++++++++++
14 x11-misc/qterm/qterm-0.7.1.ebuild | 1 +
15 2 files changed, 41 insertions(+)
16
17 diff --git a/x11-misc/qterm/files/qterm-0.7.1-headers.patch b/x11-misc/qterm/files/qterm-0.7.1-headers.patch
18 new file mode 100644
19 index 00000000000..c442c0ac8b3
20 --- /dev/null
21 +++ b/x11-misc/qterm/files/qterm-0.7.1-headers.patch
22 @@ -0,0 +1,40 @@
23 +--- a/src/keydialog.h
24 ++++ b/src/keydialog.h
25 +@@ -10,6 +10,7 @@
26 + #ifndef KEYDIALOG_H
27 + #define KEYDIALOG_H
28 +
29 ++#include <QButtonGroup>
30 + #include "ui_keydialog.h"
31 + namespace QTerm
32 + {
33 +--- a/src/soundconf.h
34 ++++ b/src/soundconf.h
35 +@@ -1,6 +1,7 @@
36 + #ifndef SOUNDCONF_H
37 + #define SOUNDCONF_H
38 +
39 ++#include <QButtonGroup>
40 + #include "ui_soundconf.h"
41 + namespace QTerm
42 + {
43 +--- a/src/shortcutsdialog.cpp
44 ++++ b/src/shortcutsdialog.cpp
45 +@@ -3,6 +3,7 @@
46 + #include <QKeyEvent>
47 + #include <QMessageBox>
48 + #include <QShortcut>
49 ++#include <QAction>
50 +
51 + namespace QTerm {
52 +
53 +--- a/src/shortcutsdialog.h
54 ++++ b/src/shortcutsdialog.h
55 +@@ -3,6 +3,7 @@
56 +
57 + #include "ui_shortcutsdialog.h"
58 + class QShortcut;
59 ++class QAction;
60 +
61 + namespace QTerm{
62 +
63
64 diff --git a/x11-misc/qterm/qterm-0.7.1.ebuild b/x11-misc/qterm/qterm-0.7.1.ebuild
65 index 2273e5d3069..daf1248d0cb 100644
66 --- a/x11-misc/qterm/qterm-0.7.1.ebuild
67 +++ b/x11-misc/qterm/qterm-0.7.1.ebuild
68 @@ -30,6 +30,7 @@ DEPEND="${RDEPEND}
69 dev-qt/qthelp:5
70 x11-base/xorg-proto"
71
72 +PATCHES=( "${FILESDIR}"/${P}-headers.patch )
73 DOCS=( README.rst RELEASE_NOTES TODO )
74
75 src_prepare() {