From cdeb508e6f593b182417f2231940c3420beb28d1 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Tue, 31 Dec 2024 22:54:23 +0100 Subject: [PATCH] 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 @@ (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