testing/konversation: attempt to fix build with recent Qt

This commit is contained in:
Sören Tempel 2020-02-22 16:34:53 +01:00
parent d37e4bd776
commit eada307685
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,21 @@
From 4d0036617becc26a76fd021138c98aceec4c7b53 Mon Sep 17 00:00:00 2001
From: Luca Beltrame <lbeltrame@kde.org>
Date: Sun, 21 Jul 2019 09:14:32 +0200
Subject: [PATCH] Fix build with Qt 5.13
---
src/irc/outputfilter.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/irc/outputfilter.cpp b/src/irc/outputfilter.cpp
index f9e6253f..45d11fb2 100644
--- a/src/irc/outputfilter.cpp
+++ b/src/irc/outputfilter.cpp
@@ -32,6 +32,7 @@
#include <QStringList>
#include <QFile>
+#include <QMetaMethod>
#include <QRegExp>
#include <QTextCodec>
#include <QByteArray>

View File

@ -13,7 +13,8 @@ makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kbookmarks-dev
kparts-dev solid-dev kwallet-dev kwidgetsaddons-dev kglobalaccel-dev
kdbusaddons-dev knotifications-dev kwindowsystem-dev kiconthemes-dev
kitemviews-dev phonon-dev qca-dev"
source="https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"
source="https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz
0001-Fix-build-with-Qt-5.13.patch"
subpackages="$pkgname-doc $pkgname-lang"
build() {
@ -32,4 +33,5 @@ package() {
DESTDIR="$pkgdir" make install
}
sha512sums="001534c7f6c5110ca5e210977cc4275e083f5c3704078a74aa573af659154e0fa4c3c960be08f41256db1ac4568f0734741bf10cfb2e15d9e6f6440250682504 konversation-1.7.5.tar.xz"
sha512sums="001534c7f6c5110ca5e210977cc4275e083f5c3704078a74aa573af659154e0fa4c3c960be08f41256db1ac4568f0734741bf10cfb2e15d9e6f6440250682504 konversation-1.7.5.tar.xz
20e7626721286194ee036d64bdb5faae1b774bc19a3958f221c03e3269b0d4ce6e768d6e4ee7c2db1ec9502ac2be202184cb842d072f321422664d62f56212ec 0001-Fix-build-with-Qt-5.13.patch"