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

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2a12c1a487 gnu: wlroots-0.15: Fix build with GCC 15.
2a12c1a487 is described below

commit 2a12c1a487dd14683f602e8d2bf7689831d4e4dc
Author: Sören Tempel <[email protected]>
AuthorDate: Sun Dec 7 07:53:40 2025 +0100

    gnu: wlroots-0.15: Fix build with GCC 15.
    
    * gnu/packages/wm.scm (wlroots-0.15)[arguments]: Change CFLAGS
    to disable new GCC 15 warnings.
    
    Change-Id: I7c27892097e0bb4f0a8e116dc2485c23b9a4aac2
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/wm.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 6e9d3ab0c5..b0a9bb460a 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2475,8 +2475,15 @@ modules for building a Wayland compositor.")
        (sha256
         (base32 "00s73nhi3sc48l426jdlqwpclg41kx1hv0yk4yxhbzw19gqpfm1h"))))
     (propagated-inputs (modify-inputs (package-propagated-inputs wlroots)
-                         (delete libdisplay-info)))))
-
+                         (delete libdisplay-info)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments wlroots)
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            ;; Required to fix build with GCC >= 15.
+            (add-before 'configure 'set-cflags
+              (lambda _
+                (setenv "CFLAGS" "-Wno-error=calloc-transposed-args")))))))))
 
 (define-public wl-mirror
   (package

Reply via email to