git » kinit.git » commit ac82709

Fix lockup with systemd 240

author Antonio Rojas
2018-12-25 00:05:07 UTC
committer Antonio Rojas
2018-12-25 00:05:07 UTC
parent 992a40a0883ebda28ec32f48ff8813f0db0558fa

Fix lockup with systemd 240

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 8d2b57b..1e96852 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kinit
 pkgver=5.53.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Process launcher to speed up launching KDE applications'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -12,13 +12,18 @@ license=(LGPL)
 depends=(kio)
 makedepends=(extra-cmake-modules kdoctools)
 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}
+        kinit-rlimit.patch::"https://cgit.kde.org/kinit.git/patch/?id=26620aef")
 sha256sums=('5ce5b20ffdbd0bc5bd8ee5c261196319f53bfe93635228870ff601aa8a09ad91'
-            'SKIP')
+            'SKIP'
+            'bc53ff5d82e6f3df7e541eab4d10fbbc57777286efe12bebe158d79696654750')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kinit-rlimit.patch # Fix lockup with systemd 240
 }
 
 build() {