git » kio.git » commit 87cd6d6

Fix creating new folders with Qt 5.9.3 (FS#56459)

author Antonio Rojas
2017-11-26 10:01:05 UTC
committer Antonio Rojas
2017-11-26 10:01:05 UTC
parent 749a5c6e41bf3acb46fd1a2a48c3e228bc162fe6

Fix creating new folders with Qt 5.9.3 (FS#56459)

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 8df4143..4abb369 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=kio
 pkgver=5.40.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Resource and network access abstraction'
 arch=('x86_64')
 url='https://community.kde.org/Frameworks'
@@ -13,13 +13,18 @@ makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'doxygen' 'qt5-tools')
 optdepends=('kio-extras: extra protocols support (sftp, fish and more)' 'kdoctools: for the help kioslave'
             'knetattach: to add new kio-remote entries')
 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}
+        kio-new-folder.patch::"https://cgit.kde.org/kio.git/patch/?id=2353119a")
 sha256sums=('30ea0b231b995faaf4283b9c9ecfaffb589268f5d7b5b805f69ed95601ac389b'
-            'SKIP')
+            'SKIP'
+            '12066a895dc95e7892260044ad9e6fdd242b9b24b914f556e8505489926bf1a6')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kio-new-folder.patch # Fix creating new folders with Qt 5.9.3
 }
 
 build() {