guix-commits
[Top][All Lists]
Advanced

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

branch core-packages-team updated: gnu: aalib: Fix build with gcc-14.


From: guix-commits
Subject: branch core-packages-team updated: gnu: aalib: Fix build with gcc-14.
Date: Tue, 31 Dec 2024 03:32:50 -0500

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
     new 8fbd143a09 gnu: aalib: Fix build with gcc-14.
8fbd143a09 is described below

commit 8fbd143a09195c7ec9715b75f7a11927bb0f485a
Author: Janneke Nieuwenhuizen <janneke@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 0cf7f19ea7..c270a0f4bb 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com>
 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
 ;;; Copyright © 2016, 2018, 2019, 2020, 2021 Eric Bavier <bavier@posteo.net>
-;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2017 Feng Shu <tumashu@163.com>
 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
@@ -824,7 +824,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

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