timezonemap: Fix crashes when running in GLib 2.76
ref: https://salsa.debian.org/cinnamon-team/libtimezonemap/-/merge_requests/3
This commit is contained in:
parent
60c1d71f2b
commit
3596844870
|
@ -1,6 +1,8 @@
|
||||||
{ lib, stdenv
|
{ stdenv
|
||||||
|
, lib
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, fetchbzr
|
, fetchbzr
|
||||||
|
, fetchpatch
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gtk3
|
, gtk3
|
||||||
, glib
|
, glib
|
||||||
|
@ -20,6 +22,15 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-wCJXwgnN+aZVerjQCm8oT3xIcwmc4ArcEoCh9pMrt+E=";
|
sha256 = "sha256-wCJXwgnN+aZVerjQCm8oT3xIcwmc4ArcEoCh9pMrt+E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix crashes when running in GLib 2.76
|
||||||
|
# https://bugs.launchpad.net/ubuntu/+source/libtimezonemap/+bug/2012116
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://git.launchpad.net/ubuntu/+source/libtimezonemap/plain/debian/patches/timezone-map-Never-try-to-access-to-free-d-or-null-values.patch?id=88f72f724e63df061204f6818c9a1e7d8c003e29";
|
||||||
|
sha256 = "sha256-M5eR0uaqpJOeW2Ya1Al+3ZciXukzHpnjJTMVvdO0dPE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
|
|
Loading…
Reference in a new issue