plasma-workspace: make sure that m_twinSpacer is initialized
this prevents a crash of panelspacers on musl (and maybe also 32bit glibc)
This commit is contained in:
parent
1ff0b79b15
commit
90eb6035cb
2 changed files with 10 additions and 1 deletions
9
srcpkgs/plasma-workspace/patches/panelspacer-musl.patch
Normal file
9
srcpkgs/plasma-workspace/patches/panelspacer-musl.patch
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- applets/panelspacer/plugin/panelspacer.h 2021-03-16 13:40:14.000000000 +0100
|
||||
+++ - 2021-04-03 21:55:05.981463376 +0200
|
||||
@@ -73,5 +73,5 @@
|
||||
void twinSpacerChanged();
|
||||
|
||||
private:
|
||||
- PlasmaQuick::AppletQuickItem *m_twinSpacer;
|
||||
+ PlasmaQuick::AppletQuickItem *m_twinSpacer = nullptr;
|
||||
};
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'plasma-workspace'
|
||||
pkgname=plasma-workspace
|
||||
version=5.21.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_TESTING=OFF -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
|
||||
hostmakedepends="extra-cmake-modules iso-codes pkg-config kdoctools kcoreaddons
|
||||
|
|
Loading…
Reference in a new issue