[arch-commits] Commit in sddm/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Dec 21 12:20:49 UTC 2020


    Date: Monday, December 21, 2020 @ 12:20:49
  Author: arojas
Revision: 404729

Fix race at startup

Modified:
  sddm/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-21 11:33:14 UTC (rev 404728)
+++ PKGBUILD	2020-12-21 12:20:49 UTC (rev 404729)
@@ -4,7 +4,7 @@
 
 pkgname=sddm
 pkgver=0.19.0
-pkgrel=2
+pkgrel=3
 pkgdesc='QML based X11 and Wayland display manager'
 arch=(x86_64)
 url='https://github.com/sddm/sddm'
@@ -19,14 +19,20 @@
 provides=(display-manager)
 source=($pkgname-$pkgver.tar.gz::"https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
         sddm.sysusers sddm.tmpfiles
-        pam-faillock.patch)
+        pam-faillock.patch
+        sddm-fix-race-pre.patch::"https://github.com/sddm/sddm/commit/68cc9e31.patch"
+        sddm-fix-race.patch::"https://patch-diff.githubusercontent.com/raw/sddm/sddm/pull/1324.patch")
 sha256sums=('e76da1f13d5ad5e0179e3fec57543126044339405ef19c397e105e0807bd4e41'
             '9fce66f325d170c61caed57816f4bc72e9591df083e89da114a3bb16b0a0e60f'
             'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677'
-            '441f441fc63c16c5dbd83411a305d88b17e50836c958677db881b9b6c13c668a')
+            '441f441fc63c16c5dbd83411a305d88b17e50836c958677db881b9b6c13c668a'
+            '33770560315b5369fd15baf5cd877f1191e642cefc6d2a1b4f0a7a80c109c025'
+            'bbe45a316140c145d7de67dbe95764e44a0787ad9c6bcd2f7e0694484bd79640')
 
 prepare() {
   patch -d $pkgname-$pkgver -p1 -i ../pam-faillock.patch # Port away from deprecated pam_tally2
+  patch -d $pkgname-$pkgver -p1 -i ../sddm-fix-race-pre.patch # Make next patch apply
+  patch -d $pkgname-$pkgver -p1 -i ../sddm-fix-race.patch # Fix race at startup
 }
 
 build() {



More information about the arch-commits mailing list