From 2c6b0462270638b240e2ed38ad446c9db2354781 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Sat, 18 May 2024 21:48:14 +0200 Subject: gnu: gnome-builder: Fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gnome.scm (gnome-builder)[#:phases]: Add ‘patch-source’. --- gnu/packages/gnome.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2d694e0822..565d8ad4f8 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -13420,6 +13420,14 @@ libraries. Applications do not need to be recompiled--or even restarted.") #:configure-flags #~(list "-Dnetwork_tests=false" "-Ddocs=true") #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + ;; With Gnome 4.14, GtkStackPage has an autoptr already, so it'd + ;; get redefined. Drop this phase when updating gnome-builder to + ;; 46.0 or newer. See also + ;; + (substitute* "src/libide/tweaks/ide-tweaks-window.c" + (("G_DEFINE_AUTOPTR_CLEANUP_FUNC \\(GtkStackPage, .*\\)") "")))) (add-after 'unpack 'patch-meson (lambda* (#:key inputs #:allow-other-keys) (substitute* "meson.build" -- cgit 1.4.1