From 153176a5659ac541859e6250319bbc67e3ff7321 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Mon, 30 Dec 2024 18:57:26 +0100 Subject: [PATCH] gnu: gdl-minimal: Fix build with gcc-14. * gnu/packages/gnome.scm (gdl-minimal)[arguments]: Modify gdl's arguments. Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1 --- gnu/packages/gnome.scm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 72c01e7bf8..e039ae6941 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2587,18 +2587,18 @@ (define-public gdl-minimal (package/inherit gdl (name "gdl-minimal") (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-doc-generation - ;; XXX: There is no easy way to disable generating the - ;; documentation. - (lambda _ - (substitute* "configure.in" - (("GTK_DOC_CHECK.*") "") - (("docs/.*") "")) - (substitute* "Makefile.am" - (("gdl docs po") "gdl po")) - #t))))) + (substitute-keyword-arguments (package-arguments gdl) + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (add-after 'unpack 'disable-doc-generation + ;; XXX: There is no easy way to disable generating the + ;; documentation. + (lambda _ + (substitute* "configure.in" + (("GTK_DOC_CHECK.*") "") + (("docs/.*") "")) + (substitute* "Makefile.am" + (("gdl docs po") "gdl po")))))))) (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl))))) (define-public libgnome-keyring