From 2b6013a5579fd165dfece29115e358c5ee0cc248 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Sun, 27 Jul 2025 23:21:34 +0200 Subject: [PATCH] gnu: raylib: Fix build with gcc-14. * gnu/packages/game-development.scm (raylib)[arguments]<#:configure-flags>: Add -Wno-error= to CMAKE_C_FLAGS. Fixes: guix/guix#1606 Change-Id: I012a23a4faa53168cb7727ce7dad1bff45dd5848 --- gnu/packages/game-development.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index d1642fa59ab..9e2ea881bd2 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -3714,7 +3714,8 @@ progresses the level, or you may regenerate tiles as the world changes.") #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" "-DUSE_EXTERNAL_GLFW=ON" - "-DCMAKE_C_FLAGS=-lpulse") + (string-append "-DCMAKE_C_FLAGS=-lpulse " + "-Wno-error=incompatible-pointer-types")) #:phases #~(modify-phases %standard-phases (add-before 'configure 'configure-miniaudio