git » kio.git » commit 77d73e2

Fix pasting files to SMB/MTP (FS#50641)

author Antonio Rojas
2016-09-03 17:37:23 UTC
committer Antonio Rojas
2016-09-03 17:37:23 UTC
parent dd862dec547e385999c6fb8853f884f3dc9126b6

Fix pasting files to SMB/MTP (FS#50641)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index a4b9dc8..6b72fdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=kio
 pkgver=5.25.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Resource and network access abstraction'
 arch=('i686' 'x86_64')
 url='https://community.kde.org/Frameworks'
@@ -12,11 +12,17 @@ depends=('solid' 'kjobwidgets' 'kbookmarks' 'libxslt' 'kwallet' 'desktop-file-ut
 makedepends=('extra-cmake-modules' 'kdoctools' 'python')
 optdepends=('kio-extras: extra protocols support (sftp, fish and more)')
 groups=('kf5')
-source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('0077d90029c34f734fb661912f2213d1')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        kdebug-366795.patch::"https://quickgit.kde.org/?p=kio.git&a=commitdiff&h=fcbfb61a&o=plain")
+md5sums=('0077d90029c34f734fb661912f2213d1'
+         'f8fcb4c3de5d3f1f2a9a2fc30bed6965')
 
 prepare() {
   mkdir -p build
+
+# Fix pasting files in SMB/MTP paths http://bugs.kde.org/show_bug.cgi?id=366795
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-366795.patch
 }
 
 build() {