From 90eb6035cb5afadc3dc7ed0d6f603fd0476945b1 Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Sat, 3 Apr 2021 17:41:47 +0200 Subject: [PATCH] plasma-workspace: make sure that m_twinSpacer is initialized this prevents a crash of panelspacers on musl (and maybe also 32bit glibc) --- srcpkgs/plasma-workspace/patches/panelspacer-musl.patch | 9 +++++++++ srcpkgs/plasma-workspace/template | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/plasma-workspace/patches/panelspacer-musl.patch diff --git a/srcpkgs/plasma-workspace/patches/panelspacer-musl.patch b/srcpkgs/plasma-workspace/patches/panelspacer-musl.patch new file mode 100644 index 0000000000..184c349ce6 --- /dev/null +++ b/srcpkgs/plasma-workspace/patches/panelspacer-musl.patch @@ -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; + }; diff --git a/srcpkgs/plasma-workspace/template b/srcpkgs/plasma-workspace/template index 15366088e5..015319ed3d 100644 --- a/srcpkgs/plasma-workspace/template +++ b/srcpkgs/plasma-workspace/template @@ -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