pantheon.elementary-mail: Backport crash fix for empty mime

This commit is contained in:
Bobby Rong 2023-03-17 21:46:25 +08:00
parent d88ec152cf
commit 756cdf8089
No known key found for this signature in database

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pkg-config
, meson
@ -30,6 +31,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-IY+ml/ftLSk0A3Emi0ZL2wxIDIngNU6QKbHErRAaaMA=";
};
patches = [
# MessageListItem: avoid crashing on empty Mime
# https://github.com/elementary/mail/pull/828
(fetchpatch {
url = "https://github.com/elementary/mail/commit/7cb412dee4cc8c0bfab55057c47d5ecce6918788.patch";
sha256 = "sha256-7rYvgFeVmV/rVYzC/xt/lioRlveM0d8ORqZdMYkm/d4=";
})
];
nativeBuildInputs = [
libxml2
meson