janneke pushed a commit to branch core-packages-team in repository guix. commit d272ab7223dfdf8ec503befccd5344907c86c66e Author: Janneke Nieuwenhuizen <jann...@gnu.org> AuthorDate: Mon Dec 30 18:57:26 2024 +0100
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 99dfc83c53..86fc31d3c4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2588,18 +2588,18 @@ GNOME Desktop.") (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