mate.mate-sensors-applet: Backport crash fix for glib 2.83.2

https://bugzilla.redhat.com/show_bug.cgi?id=2326719#c17
This commit is contained in:
Bobby Rong
2025-03-22 21:37:44 +08:00
parent a84ebe20c6
commit 7eb04a13cc
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
gettext,
itstool,
@@ -25,6 +26,15 @@ stdenv.mkDerivation rec {
sha256 = "1GU2ZoKvj+uGGCg8l4notw22/RfKj6lQrG9xAQIxWoE=";
};
patches = [
# Fix an invalid pointer crash with glib 2.83.2
# https://github.com/mate-desktop/mate-sensors-applet/pull/137
(fetchpatch {
url = "https://github.com/mate-desktop/mate-sensors-applet/commit/9b74dc16d852a40d37f7ce6c236406959fd013e5.patch";
hash = "sha256-PjMc2uEFMljaiKOM5lf6MsdWztZkMfb2Vuxs9tgdaos=";
})
];
nativeBuildInputs = [
pkg-config
gettext