From d4b2e063c65213f0f6646c719fe97fef0c2dec67 Mon Sep 17 00:00:00 2001 From: Erin van der Veen Date: Wed, 22 Mar 2023 21:00:23 +0100 Subject: gegl: add patch to pass test gegl_tile --- pkgs/development/libraries/gegl/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'pkgs/development/libraries/gegl') diff --git a/pkgs/development/libraries/gegl/default.nix b/pkgs/development/libraries/gegl/default.nix index ecf9090864d..619226fb2cc 100644 --- a/pkgs/development/libraries/gegl/default.nix +++ b/pkgs/development/libraries/gegl/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchurl +, fetchpatch , pkg-config , vala , gobject-introspection @@ -47,6 +48,18 @@ stdenv.mkDerivation rec { sha256 = "q6g6DLqmxW7cKeoi8ugXKVClO5bapRWSCD1ZIivd4C0="; }; + patches = [ + # Fix memory management issues revealed by GLib 2.76 update. + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/gegl/-/commit/f2f2cea219f2265e152e3308004dc98d2fd48f33.patch"; + hash = "sha256-5GR8zHvuiH9eapPDnIEGr/ksYw6feKqMaJlmj83R4XY="; + }) + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/gegl/-/commit/79e28a7d3a843114588f4b5a095ff7a797c0e2e1.patch"; + hash = "sha256-+2iT+THlLcOgFvGl76IUWGhww+H8rzDWmXn0Kq6YCUk="; + }) + ]; + nativeBuildInputs = [ pkg-config gettext -- cgit 1.4.1