git » plasma-framework.git » commit b4ddb0d

Fix crash when no geolocation provider is available

author Antonio Rojas
2020-02-19 14:15:09 UTC
committer Antonio Rojas
2020-02-19 14:15:09 UTC
parent dcf440351c5cc1b2c17f52926986feab3f2db961

Fix crash when no geolocation provider is available

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 9c169bc..1e7aca7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=plasma-framework
 pkgver=5.67.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -12,13 +12,18 @@ license=(LGPL)
 depends=(kactivities kdeclarative kwayland kirigami2)
 makedepends=(extra-cmake-modules qt5-tools qt5-doc kdoctools doxygen)
 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-417548.patch::"https://cgit.kde.org/plasma-framework.git/patch/?id=1dc36bc2")
 sha256sums=('6baa5fc124b8147bbc1e2bf0a7cf136ad8bbf6ac34920cd153ac646907baeb84'
-            'SKIP')
+            'SKIP'
+            '7ced972b51188a312fef69dfe29716ffed45bc278b37879dc0276c19aeae186a')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-417548.patch # Fix crash when no geolocation providers are available
 }
 
 build() {