z572 pushed a commit to branch core-packages-team
in repository guix.
commit ba2c7ce28e7dd4d4ccf6b68554c079443feca2e6
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Dec 31 13:36:03 2024 +0100
gnu: libvisual: Fix build with gcc-14.
* gnu/packages/gstreamer.scm (libvisual)[arguments]: Add #:configure-flags
to
relax gcc-14's strictness.
Change-Id: I84cb625c98e4ef75a87ad9ffe7fa580685c0fcf0
---
gnu/packages/gstreamer.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index c4fb8b9b4d..d91b5e601e 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2020 Michael Rohleder <[email protected]>
;;; Copyright © 2023 Maxim Cournoyer <[email protected]>
;;; Copyright © 2024 Remco van 't Veer <[email protected]>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -238,13 +239,15 @@ and very fast.")
(base32 "02xwakwkqjsznc03pjlb6hcv1li1gw3r8xvyswqsm4msix5xq18a"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; The package is in a sub-dir of this repo.
- (add-after 'unpack 'chdir
- (lambda _
- (chdir "libvisual")
- #t)))))
+ (list
+ #:configure-flags
+ #~(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; The package is in a sub-dir of this repo.
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "libvisual"))))))
(native-inputs
(list gettext-minimal intltool libtool pkg-config))
(inputs