mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
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
This commit is contained in:
parent
a08b796fa1
commit
271355a644
1 changed files with 9 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2022 Mathieu Othacehe <othacehe@gnu.org>
|
||||
;;; Copyright © 2023 Simon Tournier <zimon.toutoune@gmail.com>
|
||||
;;; Copyright © 2025 Andreas Enge <andreas@enge.fr>
|
||||
;;;
|
||||
;;; 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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue