1 |
commit: 7b717027600427b050577929ee69e323c14db072 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 6 15:01:07 2018 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 6 15:02:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b717027 |
7 |
|
8 |
media-gfx/fotowall: fix build with Qt 5.11 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/661596 |
11 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
13 |
|
14 |
.../fotowall/files/fotowall-1.0-qt-5.11.patch | 28 ++++++++++++++++++++++ |
15 |
media-gfx/fotowall/fotowall-1.0.ebuild | 4 +++- |
16 |
2 files changed, 31 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-gfx/fotowall/files/fotowall-1.0-qt-5.11.patch b/media-gfx/fotowall/files/fotowall-1.0-qt-5.11.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..db619771b47 |
21 |
--- /dev/null |
22 |
+++ b/media-gfx/fotowall/files/fotowall-1.0-qt-5.11.patch |
23 |
@@ -0,0 +1,28 @@ |
24 |
+Fix build with Qt 5.11. |
25 |
+ |
26 |
+Bug: https://bugs.gentoo.org/661596 |
27 |
+ |
28 |
+--- a/App/tmp/CanvasAppliance.h |
29 |
++++ b/App/CanvasAppliance.h |
30 |
+@@ -17,6 +17,9 @@ |
31 |
+ |
32 |
+ #include "Shared/PlugGui/AbstractAppliance.h" |
33 |
+ #include "ui_CanvasAppliance.h" |
34 |
++ |
35 |
++#include <QActionGroup> |
36 |
++ |
37 |
+ class QMenu; |
38 |
+ class AbstractContent; |
39 |
+ class Canvas; |
40 |
+ |
41 |
+--- a/3rdparty/likebackfrontend/LikeBackDialog.cpp |
42 |
++++ b/3rdparty/likebackfrontend/LikeBackDialog.cpp |
43 |
+@@ -37,6 +37,7 @@ |
44 |
+ #include "LikeBackDialog.h" |
45 |
+ |
46 |
+ #include <QApplication> |
47 |
++#include <QButtonGroup> |
48 |
+ #include <QLocale> |
49 |
+ #include <QMessageBox> |
50 |
+ #include <QNetworkAccessManager> |
51 |
+ |
52 |
|
53 |
diff --git a/media-gfx/fotowall/fotowall-1.0.ebuild b/media-gfx/fotowall/fotowall-1.0.ebuild |
54 |
index c4b9af4bfab..660c5442ca6 100644 |
55 |
--- a/media-gfx/fotowall/fotowall-1.0.ebuild |
56 |
+++ b/media-gfx/fotowall/fotowall-1.0.ebuild |
57 |
@@ -1,4 +1,4 @@ |
58 |
-# Copyright 1999-2017 Gentoo Foundation |
59 |
+# Copyright 1999-2018 Gentoo Authors |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
|
62 |
EAPI=6 |
63 |
@@ -31,6 +31,8 @@ DEPEND="${RDEPEND} |
64 |
src_prepare() { |
65 |
default |
66 |
|
67 |
+ eapply "${FILESDIR}/${P}-qt-5.11.patch" |
68 |
+ |
69 |
sed -i -e "s|linux/videodev.h|libv4l1-videodev.h|" \ |
70 |
3rdparty/videocapture/VideoDevice.h || die |