git » kio.git » commit 61832f8

Fix crash on overwrite dialog

author Antonio Rojas
2020-12-22 21:54:23 UTC
committer Antonio Rojas
2020-12-22 21:54:23 UTC
parent a3a1505eb732723d7b38a0f63d2b406867a1330a

Fix crash on overwrite dialog

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index ef8d687..e0af057 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kio
 pkgver=5.77.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Resource and network access abstraction'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -14,11 +14,17 @@ makedepends=(extra-cmake-modules kdoctools doxygen qt5-tools qt5-doc)
 optdepends=('kio-extras: extra protocols support (sftp, fish and more)' 'kdoctools: for the help kioslave'
             'knetattach: to add new kio-remote entries' 'kio-fuse: to mount remote filesystems via FUSE')
 groups=(kf5)
-source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}
+         kdebug-430374.patch::"https://invent.kde.org/frameworks/kio/commit/9dc9e26.patch")
 sha256sums=('237c85c9dbcfcd366290512005b0e8498c10f3b300524633bbc9319a8327a14f'
-            'SKIP')
+            'SKIP'
+            '1b2ce8586b1fd442d7b46addbcafe67f494df17d2702e951a9847ed5cd9f9314')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 -i ../kdebug-430374.patch # Fix crash on overwrite dialog
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \