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 271355a644 gnu: barrier: Fix build with gcc-14.
271355a644 is described below

commit 271355a6448b2069f371e1afc8f0b38066d8d38f
Author: Andreas Enge <[email protected]>
AuthorDate: Wed Jul 23 17:55:32 2025 +0200

    gnu: barrier: Fix build with gcc-14.
    
    * gnu/packages/barrier.scm (barrier)[arguments]<#:phases>{'fix-null}:
    Rename to...
    {'fix-includes}: ...this and add inclusions of header files.
    
    Change-Id: I168b31b3d2a27e313fe0bb787a7b8b743410a6d8
---
 gnu/packages/barrier.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/barrier.scm b/gnu/packages/barrier.scm
index be0e52349b..a890cd82b2 100644
--- a/gnu/packages/barrier.scm
+++ b/gnu/packages/barrier.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2022 Mathieu Othacehe <[email protected]>
 ;;; Copyright © 2023 Simon Tournier <[email protected]>
+;;; Copyright © 2025 Andreas Enge <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -56,11 +57,17 @@
       #:tests? #f ;; tests require a running x server
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'fix-null
+          (add-after 'unpack 'fix-includes
             (lambda _
               (substitute* "src/lib/base/Event.h"
                 (("#include \"common/stdmap\\.h\"")
-                 "#include \"common/stdmap.h\"\n#include <cstddef>")))))))
+                 "#include \"common/stdmap.h\"\n#include <cstddef>"))
+              (substitute*
+                '("src/lib/base/String.h"
+                  "src/lib/net/FingerprintData.h"
+                  "src/lib/net/FingerprintDatabase.h")
+                (("#include <vector>" all)
+                 (string-append all "\n#include <cstdint>"))))))))
     (native-inputs
      (list googletest pkg-config))
     (inputs

Reply via email to