git » knewstuff.git » commit 17d64eb

Fix crash in Discover (KDEBUG#364896)

author Antonio Rojas
2016-07-05 17:38:34 UTC
committer Antonio Rojas
2016-07-05 17:38:34 UTC
parent b836d7e1e6504f73d8777a004eed78b36539c4e4

Fix crash in Discover (KDEBUG#364896)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index fb58689..6e10326 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=knewstuff
 pkgver=5.23.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Support for downloading application assets from the network'
 arch=('i686' 'x86_64')
 url='https://community.kde.org/Frameworks'
@@ -11,11 +11,17 @@ license=('LGPL')
 depends=('kio')
 makedepends=('extra-cmake-modules' 'python')
 groups=('kf5')
-source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('2ac172c3af820c701e8e144e7f9d35db')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        kdebug-364896.patch::"https://quickgit.kde.org/?p=knewstuff.git&a=commitdiff&h=fc2e7f58&o=plain")
+md5sums=('2ac172c3af820c701e8e144e7f9d35db'
+         'a8fbc7f6e60f5d3de3e88641d889f138')
 
 prepare() {
   mkdir -p build
+
+# Fix crash in Discover http://bugs.kde.org/show_bug.cgi?id=364896
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-364896.patch
 }
 
 build() {