Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/files/, dev-db/sqlitestudio/
Date: Sat, 15 Sep 2018 14:22:30
Message-Id: 1537021307.ef9b4a902a7f556b5eb72e47ffce109bf75f9253.asturm@gentoo
1 commit: ef9b4a902a7f556b5eb72e47ffce109bf75f9253
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 15 14:10:00 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 15 14:21:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef9b4a90
7
8 dev-db/sqlitestudio: Fix build with Qt 5.11
9
10 Doing it myself then.
11
12 Closes: https://bugs.gentoo.org/662968
13 Package-Manager: Portage-2.3.49, Repoman-2.3.10
14
15 .../files/sqlitestudio-3.1.1-qt-5.11.patch | 21 +++++++++++++++++++++
16 dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild | 4 +++-
17 2 files changed, 24 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-db/sqlitestudio/files/sqlitestudio-3.1.1-qt-5.11.patch b/dev-db/sqlitestudio/files/sqlitestudio-3.1.1-qt-5.11.patch
20 new file mode 100644
21 index 00000000000..0de9f4a6115
22 --- /dev/null
23 +++ b/dev-db/sqlitestudio/files/sqlitestudio-3.1.1-qt-5.11.patch
24 @@ -0,0 +1,21 @@
25 +From 5972e777aeb7e8e127114476c031a681862f8852 Mon Sep 17 00:00:00 2001
26 +From: =?UTF-8?q?Pawe=C5=82=20Salawa?= <pawelsalawa@×××××.com>
27 +Date: Mon, 18 Jun 2018 23:12:18 +0200
28 +Subject: [PATCH] #3341 Fixed compilation with Qt 5.11.
29 +
30 +---
31 + SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp | 1 +
32 + 1 file changed, 1 insertion(+)
33 +
34 +diff --git a/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp b/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp
35 +index 643caa2d..4ca68bce 100644
36 +--- a/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp
37 ++++ b/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp
38 +@@ -47,6 +47,7 @@
39 + #include <QInputDialog>
40 + #include <QProgressBar>
41 + #include <QLabel>
42 ++#include <QStyle>
43 +
44 + CFG_KEYS_DEFINE(MainWindow)
45 + MainWindow* MainWindow::instance = nullptr;
46
47 diff --git a/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild b/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild
48 index 5c183c9c63d..529a1a6f5e4 100644
49 --- a/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild
50 +++ b/dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild
51 @@ -1,4 +1,4 @@
52 -# Copyright 1999-2017 Gentoo Foundation
53 +# Copyright 1999-2018 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55
56 EAPI=6
57 @@ -39,6 +39,8 @@ S="${WORKDIR}"
58 core_build_dir="${S}/output/build"
59 plugins_build_dir="${core_build_dir}/Plugins"
60
61 +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
62 +
63 src_prepare() {
64 xdg_src_prepare