dev-db/sqlitestudio: Fix build with Qt 5.11
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 15 Sep 2018 14:10:00 +0000 (16:10 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 15 Sep 2018 14:21:47 +0000 (16:21 +0200)
Doing it myself then.

Closes: https://bugs.gentoo.org/662968
Package-Manager: Portage-2.3.49, Repoman-2.3.10

dev-db/sqlitestudio/files/sqlitestudio-3.1.1-qt-5.11.patch [new file with mode: 0644]
dev-db/sqlitestudio/sqlitestudio-3.1.1.ebuild

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
new file mode 100644 (file)
index 0000000..0de9f4a
--- /dev/null
@@ -0,0 +1,21 @@
+From 5972e777aeb7e8e127114476c031a681862f8852 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Pawe=C5=82=20Salawa?= <pawelsalawa@gmail.com>
+Date: Mon, 18 Jun 2018 23:12:18 +0200
+Subject: [PATCH] #3341 Fixed compilation with Qt 5.11.
+
+---
+ SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp b/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp
+index 643caa2d..4ca68bce 100644
+--- a/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp
++++ b/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp
+@@ -47,6 +47,7 @@
+ #include <QInputDialog>
+ #include <QProgressBar>
+ #include <QLabel>
++#include <QStyle>
+ CFG_KEYS_DEFINE(MainWindow)
+ MainWindow* MainWindow::instance = nullptr;
index 5c183c9c63d5308e18e3b82f7b37572139cbd458..529a1a6f5e40d3941acb98c2c54f297473a4fb42 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -39,6 +39,8 @@ S="${WORKDIR}"
 core_build_dir="${S}/output/build"
 plugins_build_dir="${core_build_dir}/Plugins"
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
 src_prepare() {
        xdg_src_prepare