gnu: gdl-minimal: Fix build with gcc-14.

* gnu/packages/gnome.scm (gdl-minimal)[arguments]: Modify gdl's arguments.

Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-30 18:57:26 +01:00
parent f0f778a669
commit 153176a565
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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