Date: Wednesday, January 16, 2019 @ 16:39:46 Author: eworm Revision: 344284
fix build with Qt 5.11 Added: kexi/trunk/0001-fix-build-with-qt-5-11.patch Modified: kexi/trunk/PKGBUILD -----------------------------------+ 0001-fix-build-with-qt-5-11.patch | 28 ++++++++++++++++++++++++++++ PKGBUILD | 10 ++++++++-- 2 files changed, 36 insertions(+), 2 deletions(-) Added: 0001-fix-build-with-qt-5-11.patch =================================================================== --- 0001-fix-build-with-qt-5-11.patch (rev 0) +++ 0001-fix-build-with-qt-5-11.patch 2019-01-16 16:39:46 UTC (rev 344284) @@ -0,0 +1,28 @@ +commit 1578fcb4a0407cf368edb6ee4605c4ef9e77b6ed +Author: Andreas Sturmlechner <[email protected]> +Date: Tue Mar 20 00:06:46 2018 +0100 + + Fix build with Qt 5.11 (missing headers) + + Reviewers: #kexi, staniek + + Reviewed By: #kexi, staniek + + Subscribers: staniek + + Tags: #kexi + + Differential Revision: https://phabricator.kde.org/D11503 + +diff --git a/src/main/startup/KexiNewProjectAssistant.cpp b/src/main/startup/KexiNewProjectAssistant.cpp +index 59e819acc..6568f1b5c 100644 +--- a/src/main/startup/KexiNewProjectAssistant.cpp ++++ b/src/main/startup/KexiNewProjectAssistant.cpp +@@ -48,6 +48,7 @@ + #include <KIconLoader> + #include <KStandardGuiItem> + ++#include <QAction> + #include <QDebug> + #include <QLayout> + #include <QCheckBox> Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-01-16 15:35:55 UTC (rev 344283) +++ PKGBUILD 2019-01-16 16:39:46 UTC (rev 344284) @@ -12,14 +12,20 @@ optdepends=('qt5-webkit: Web browser plugin') conflicts=(calligra-kexi) replaces=(calligra-kexi) -source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz"{,.sig}) +source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz"{,.sig} + '0001-fix-build-with-qt-5-11.patch') sha256sums=('6d55cd4af177bcb060673a0977d52bc91cc2dd1b1420d008a78f9783312152fb' - 'SKIP') + 'SKIP' + 'f8daf1f5c366bb5a01be20f81b86bb5081d4355fecd81b90e4c5016a8e97c106') validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # Jarosław Staniek <[email protected]> prepare() { mkdir -p build + + cd $pkgname-$pkgver + + patch -Np1 < ../0001-fix-build-with-qt-5-11.patch } build() {
