lol

timezonemap: Fix crashes when running in GLib 2.76

ref: https://salsa.debian.org/cinnamon-team/libtimezonemap/-/merge_requests/3

+12 -1
+12 -1
pkgs/development/libraries/timezonemap/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , autoreconfHook 3 4 , fetchbzr 5 + , fetchpatch 4 6 , pkg-config 5 7 , gtk3 6 8 , glib ··· 19 21 rev = "58"; 20 22 sha256 = "sha256-wCJXwgnN+aZVerjQCm8oT3xIcwmc4ArcEoCh9pMrt+E="; 21 23 }; 24 + 25 + patches = [ 26 + # Fix crashes when running in GLib 2.76 27 + # https://bugs.launchpad.net/ubuntu/+source/libtimezonemap/+bug/2012116 28 + (fetchpatch { 29 + 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"; 30 + sha256 = "sha256-M5eR0uaqpJOeW2Ya1Al+3ZciXukzHpnjJTMVvdO0dPE="; 31 + }) 32 + ]; 22 33 23 34 nativeBuildInputs = [ 24 35 pkg-config