janneke pushed a commit to branch core-packages-team
in repository guix.
commit 3e9cdfb47eaab20afbb28e434cdc24aba655dce0
Author: Janneke Nieuwenhuizen <[email protected]>
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 6bc3d31096..42df8df65e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2612,18 +2612,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