[arch-commits] Commit in plasma-desktop/kde-unstable (PKGBUILD kdebug-407614.patch)

Antonio Rojas arojas at archlinux.org
Sat May 18 21:48:40 UTC 2019


    Date: Saturday, May 18, 2019 @ 21:48:39
  Author: arojas
Revision: 353611

Fix kded-touchpad crash

Added:
  plasma-desktop/kde-unstable/kdebug-407614.patch
Modified:
  plasma-desktop/kde-unstable/PKGBUILD

---------------------+
 PKGBUILD            |   11 ++++++++---
 kdebug-407614.patch |   14 ++++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-18 20:06:20 UTC (rev 353610)
+++ PKGBUILD	2019-05-18 21:48:39 UTC (rev 353611)
@@ -5,18 +5,20 @@
 pkgbase=plasma-desktop
 pkgname=(plasma-desktop knetattach)
 pkgver=5.15.90
-pkgrel=1
+pkgrel=2
 pkgdesc='KDE Plasma Desktop'
 arch=(x86_64)
 url='https://www.kde.org/workspaces/plasmadesktop/'
 license=(LGPL)
-source=("https://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
+        kdebug-407614.patch)
 depends=(polkit-kde-agent libxkbfile kmenuedit appstream-qt systemsettings ksysguard kpeople baloo)
 makedepends=(extra-cmake-modules kdoctools boost xf86-input-evdev xf86-input-synaptics xf86-input-libinput xorg-server-devel
              libibus scim kdesignerplugin)
 groups=(plasma)
 sha256sums=('d615c7301772bf8370e535e0db06850af0ecf18534efad237e21b7158ab88c18'
-            'SKIP')
+            'SKIP'
+            '39c0a6e32e936b73ad56d20b16a0673a92c562d5a0edffe8b28ac849783584eb')
 validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell <jr at jriddell.org>
               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah at kde.org>
               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson at kde.org>
@@ -24,6 +26,9 @@
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-407614.patch # Fix kded-touchpad crash
 }
 
 build() {

Added: kdebug-407614.patch
===================================================================
--- kdebug-407614.patch	                        (rev 0)
+++ kdebug-407614.patch	2019-05-18 21:48:39 UTC (rev 353611)
@@ -0,0 +1,14 @@
+diff --git a/kcms/touchpad/src/backends/x11/xcbatom.cpp b/kcms/touchpad/src/backends/x11/xcbatom.cpp
+--- a/kcms/touchpad/src/backends/x11/xcbatom.cpp
++++ b/kcms/touchpad/src/backends/x11/xcbatom.cpp
+@@ -46,6 +46,9 @@
+ {
+     if (!m_fetched) {
+         m_fetched = true;
++        if(!m_connection) {
++            return 0;
++        }
+         m_reply = xcb_intern_atom_reply(m_connection, m_cookie, 0);
+     }
+     if (m_reply) {
+


More information about the arch-commits mailing list