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
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-31 22:54:23 +01:00
parent 4b50518723
commit cdeb508e6f
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -207,7 +207,13 @@ (define-public sdl2-2.0
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