[arch-commits] Commit in akonadi/trunk (PKGBUILD kdebug-409234.patch)

Antonio Rojas arojas at archlinux.org
Thu Jun 27 15:14:48 UTC 2019


    Date: Thursday, June 27, 2019 @ 15:14:48
  Author: arojas
Revision: 356971

Fix postgresql backend with Qt 5.13 (FS#62997)

Added:
  akonadi/trunk/kdebug-409234.patch
Modified:
  akonadi/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   11 ++++++++---
 kdebug-409234.patch |   13 +++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-27 14:56:00 UTC (rev 356970)
+++ PKGBUILD	2019-06-27 15:14:48 UTC (rev 356971)
@@ -6,20 +6,25 @@
 pkgbase=akonadi
 pkgname=(akonadi libakonadi)
 pkgver=19.04.2
-pkgrel=3
+pkgrel=4
 pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
 arch=(x86_64)
 url='https://kontact.kde.org'
 license=(LGPL)
 makedepends=(extra-cmake-modules postgresql qt5-tools boost kdesignerplugin kio kitemmodels)
-source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+        kdebug-409234.patch)
 sha256sums=('16e1c6dd48004d9b1ad0c1dc38372ccdd5529c7e360fce95f65067b83407b6d2'
-            'SKIP')
+            'SKIP'
+            'c38706472c5a5adf74d5a86908554ecbfe332f9a6a03729c6557ac9651b68dad')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-409234.patch # Fix postgresql backend with Qt 5.13
 }
 
 build() {

Added: kdebug-409234.patch
===================================================================
--- kdebug-409234.patch	                        (rev 0)
+++ kdebug-409234.patch	2019-06-27 15:14:48 UTC (rev 356971)
@@ -0,0 +1,13 @@
+diff --git a/src/server/storage/dbintrospector.cpp b/src/server/storage/dbintrospector.cpp
+index 224faf7f8..70d952a6f 100644
+--- a/src/server/storage/dbintrospector.cpp
++++ b/src/server/storage/dbintrospector.cpp
+@@ -76,7 +76,7 @@ bool DbIntrospector::hasColumn(const QString &tableName, const QString &columnNa
+     QStringList columns = m_columnCache.value(tableName);
+ 
+     if (columns.isEmpty()) {
+-        const QSqlRecord table = m_database.record(tableName);
++        const QSqlRecord table = m_database.record(tableName.toLower());
+         const int numTables = table.count();
+         columns.reserve(numTables);
+         for (int i = 0; i < numTables; ++i) {


More information about the arch-commits mailing list