guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

96/246: gnu: libvisual: Fix build with gcc-14.


From: guix-commits
Subject: 96/246: gnu: libvisual: Fix build with gcc-14.
Date: Fri, 10 Jan 2025 10:47:30 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit 23365a0f10b186f11376700c8490d09079db08fc
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
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 <mike@rohleder.de>
 ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2024 Remco van 't Veer <remco@remworks.net>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]