mate.mate-sensors-applet: Backport crash fix for glib 2.83.2 (#392104)

This commit is contained in:
Bobby Rong 2025-03-23 16:08:09 +08:00 committed by GitHub
commit 2c97866b12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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