gtk4: patch fixing g-c-c crashes

(cherry picked from commit 5d15a099b9)
This commit is contained in:
Maxine Aubrey 2022-05-13 22:54:42 +02:00 committed by Jan Tojnar
parent 1d7db1b9e4
commit 2ed533a838

View file

@ -2,6 +2,7 @@
, stdenv
, substituteAll
, fetchurl
, fetchpatch
, pkg-config
, gettext
, graphene
@ -77,6 +78,15 @@ stdenv.mkDerivation rec {
sha256 = "pXrNDkSCmBcA/fhllsdBPLYe9H915HR/2oCegjG42Ww=";
};
patches = [
# Fix GNOME Control Center crash.
# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4670
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/ae0166973795e750f08b89f9f0ef974d7ac48bc7.patch";
sha256 = "qPOplocE+RcTFIEveJe8YLKiUpe7o6CiA834rZpS0Fs=";
})
];
nativeBuildInputs = [
gettext
gobject-introspection