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

commit 37b02fe141f4504d5541f997bee2553e6378acc3
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Tue Dec 31 09:31:57 2024 +0100

    gnu: aalib: Fix build with gcc-14.
    
    * gnu/packages/video.scm (aalib)[arguments]: Add CFLAGS to #:configure-flags
    to relax gcc-14's strictness.
    
    Change-Id: I609eea29875fc3eaf0dcfbd8b860e9d6f7f461a7
---
 gnu/packages/video.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index dbe30e159c..bf83579131 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2016 Dmitry Nikolaev <camelthe...@gmail.com>
 ;;; Copyright © 2016, 2017 Nikita <nik...@n0.is>
 ;;; Copyright © 2016, 2018, 2019, 2020, 2021 Eric Bavier <bav...@posteo.net>
-;;; Copyright © 2016 Jan Nieuwenhuizen <jann...@gnu.org>
+;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
 ;;; Copyright © 2017 Feng Shu <tuma...@163.com>
 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <m...@tobias.gr>
 ;;; Copyright © 2017 Chris Marusich <cmmarus...@gmail.com>
@@ -784,7 +784,11 @@ stream decoding")
     (arguments
      (list
       #:configure-flags
-      #~(list "--disable-static"
+      #~(list #$(string-append
+                 "CFLAGS=-g -O2"
+                 " -Wno-error=implicit-function-declaration"
+                 " -Wno-error=return-mismatch")
+              "--disable-static"
               (string-append "--with-ncurses="
                              #$(this-package-input "ncurses")))
       #:phases

Reply via email to