guix-commits
[Top][All Lists]
Advanced

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

branch core-packages-team updated: gnu: sdl2-2.0.14: Fix build with gcc-


From: guix-commits
Subject: branch core-packages-team updated: gnu: sdl2-2.0.14: Fix build with gcc-14.
Date: Tue, 31 Dec 2024 16:55:28 -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 505270fe57 gnu: sdl2-2.0.14: Fix build with gcc-14.
505270fe57 is described below

commit 505270fe57492a9fd093ed9b0c988e99752d6bd2
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 31 22:54:23 2024 +0100

    gnu: sdl2-2.0.14: Fix build with gcc-14.
    
    * gnu/packages/sdl.scm (sdl2-2.0)[arguments]: New field to relax gcc-14's
    strictness.
    
    Change-Id: I17fdf1facba6bda381425d0c11cc5fc200afbd4a
---
 gnu/packages/sdl.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 227846c042..f1d69781ae 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -207,7 +207,13 @@ behind the scenes.")
                               version ".tar.gz"))
               (sha256
                (base32
-                "1g1jahknv5r4yhh1xq5sf0md20ybdw1zh1i15lry26sq39bmn8fq"))))))
+                "1g1jahknv5r4yhh1xq5sf0md20ybdw1zh1i15lry26sq39bmn8fq"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments sdl2)
+       ((#:configure-flags flags)
+        #~(cons*
+           "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
+           #$flags))))))
 
 (define-public libmikmod
   (package



reply via email to

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